# NOT RUN {
ex1model<-'
math ~ c*ME+start(0)*ME + b*HE+start(0.39)*HE
HE ~ a*ME+start(0.39)*ME
'
indirect<-'ab:=a*b'
N<-50
system.time(non.normal<-power.basic(ex1model, indirect, N,
nrep=2000,parallel='multicore', skewness=c(-.3, -.7, 1.3),
kurtosis=c(1.5, 0, 5), ovnames=c('ME', 'HE', 'math'), ncore=8))
summary(non.normal)
# }
Run the code above in your browser using DataLab