Skip to content
Back to formatted view

Raw Message

Message-ID: <23093105.post@talk.nabble.com>
Date: 2009-04-17T08:11:32Z
From: Ken-JP
Subject: rnorm() converted to daily
In-Reply-To: <23092444.post@talk.nabble.com>

I think I got it...

I assumed that n=100000 would be big enough to give me a sample mean which
converges on the population mean, but this was a bad assumption.

Using sigma / sqrt(n) for the standard error of the sample mean, I get...

-----------------------------------------------------

se.x.mean.as.perc.of.pop.mean <- (0.25 / sqrt(100000)) /0.08;  
se.y.mean.as.perc.of.pop.mean <- (0.25/sqrt(252)) / sqrt(100000)
/(0.08/252);

se.x.mean.as.perc.of.pop.mean   # 0.0098821
se.y.mean.as.perc.of.pop.mean   # 0.1568738

-- 
View this message in context: http://www.nabble.com/rnorm%28%29-converted-to-daily-tp23092444p23093105.html
Sent from the R help mailing list archive at Nabble.com.