Dear all,
I am new to R and have some problem computing transition probabilities. My
problem goes like this;
data_set -
c(2,0,45,6,78,3,0,2,6,0,5,8,0,2,8,9,12,212,22,4,1,0,3,5,88,5,69,12,4,0,0,0,0,4,87,6,99,104,22,7)
observations greater than, say 3, is considered as useful (denoted as 1)
while
This looks like this is your homework about Markov chains. not an R
question actually.
But have a look at the markovchain package from CRAN:
http://cran.r-project.org/web/packages/markovchain/vignettes/an_introduction_to_markovchain_package.pdf
On 13 May 2014 16:49, Baba Bukar bbu...@nda.edu.ng
On May 13, 2014, at 7:49 AM, Baba Bukar wrote:
Dear all,
I am new to R and have some problem computing transition probabilities. My
problem goes like this;
data_set -
c(2,0,45,6,78,3,0,2,6,0,5,8,0,2,8,9,12,212,22,4,1,0,3,5,88,5,69,12,4,0,0,0,0,4,87,6,99,104,22,7)
observations greater
3 matches
Mail list logo