search for: mean_m

Displaying 1 result from an estimated 1 matches for "mean_m".

Did you mean: mean_
2011 Nov 22
1
Generate Simulation
...I have a matrix of nrow=30 and ncoll=54,and I would like to generate 50 simulations with tha same size of the matrix!!!That is to say that I want to generate 50 matrices -for my 50 simulations - with the same dimensions! I took my 1st matrix according to the formula that I want to implement: D<-mean_m + U_i*mat_DELTA mean_m:vector U_I:vector mat_Delta:matrix(54,30) Here is the loop: #Define Simulations(IS) #Define Time Step(IT) vec_IS<-c(1:50) vec_IT<-c(1:30) mat_delta<-matrix(nrow=54, ncol=30) mat_DELTA<-matrix(nrow=54, ncol=30) mat_Yr_m<-matrix(nrow=54, ncol=30) D<-matrix(...