Re: [R] (R) transitions in a Markov Chain

From: Ben Bolker <bbolker_at_gmail.com>
Date: Wed, 16 Mar 2011 00:59:31 +0000

Estefania Nares <findingstefan <at> hotmail.com> writes:

> I have to generate 1000 transitions of a discrete time Markov Chain and
> then give and estimation of the equilibrium distribution.
>
> I know the transition matrix.
>
> 0.3 0.7 0
> 0.2 0.5 0.3
> 0 0.4 0.6
> Do you know how to do it with R?
>

  This sounds like homework, and it is the policy of this list not to give answers to homework.

  To get you started, though, see

?matrix
?"%*%"

and possibly
?eigen

   good luck
     Ben Bolker



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 16 Mar 2011 - 01:18:02 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 16 Mar 2011 - 03:50:24 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive