search for: experiment4commands

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

2003 Jul 13
1
Problems Simulating (PR#3471)
...t consists of the following text: ==================== gpsim1_function(t,runs,mu,delta,stdev){ jold=0 xx_rep(0,t*runs) for(i in 1:runs){ ind=(i-1)*t xx[ind+1]=1 for(j in 2:t) { xx[ind+j]_xx[ind+j-1]* exp(rnorm(n=1,mean=mu*delta*delta,sd=stdev*delta)) } } xx } ======================= File "experiment4commands.txt" has text: source("code1.txt") aa=gpsim1(30000,1,0.14,0.052342392,0.4472135955) sink("experiment4mu14z20Path1.txt") for(i in 1:length(aa)){print(aa[i])} sink() source("code1.txt") aa=gpsim1(30000,1,0.14,0.052342392,0.4472135955) sink("experiment4mu14z20...