| Original Message (ID '277615') By yehuda: |
| New users (including professors) experience difficulties using the new TemporalData interface to time series, so we need to be a little more informative here, weather it is HW or not (and you know me, I do not answer HW)
to the student
step 1 - generate the DsiscreteMArkovModel. it is only a definition of a random process
step 2 - use RandomFunction to generate realizations (one or several)
step 3 - (in place of the ListPlot) - use Count to count the number of occurrences of states. The count works on lists, so you need to read the documentation of TemporalData to understand how to generate the realizations (paths, in WRI jargon) Notice to use appropriate patterns and levels
I'm sure that an intelligent student will successfully use these directions to complete the task
yehuda |
|