Skip to content
Back to formatted view

Raw Message

Message-ID: <1352571803384-4649190.post@n4.nabble.com>
Date: 2012-11-10T18:23:23Z
From: parvez_200207
Subject: sample mean, variance and SD

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.