[R] sample mean, variance and SD
parvez_200207
parvez.rana at uef.fi
Sat Nov 10 19:23:23 CET 2012
hi
could you help me to solve this issue
Question:
Using command rweibull(100,8,15), simulate n = 100 realizations from
Weibull(8; 15) distribution. Using the simulated sample, compute the sample
mean, variance and standard deviation of these observations.
I am trying like this
sim<-rweibull(100,8,15) # simulated sample
SM<-mean(sim) # simulated sample mean
var(sim) # variance
sd(sim) #SD
Thank you in advance.
Parvez
--
View this message in context: http://r.789695.n4.nabble.com/sample-mean-variance-and-SD-tp4649190.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list