powered by
MCSimulation(P,i,nsteps)
MCEstimation
CMCSimulation
P <- matrix(c(0.5,0.5,0,0,0.7,0.1,0.2,0,0,0.1,0.1,0.8,0,0,0.7,0.3), nrow = 4, ncol = 4, byrow = TRUE) MCSimulation(P, 0, 250)
Run the code above in your browser using DataLab