Re: [R] CI using ci.numeric

2010-10-20 Thread David Winsemius
On Oct 20, 2010, at 4:10 AM, David A. wrote: Hi, I am trying to calculate confidence intervals using ci.numeric from epicalc package. If I generate a normal set of data and find the 99% and 95% CI, they seem too narrow to me. Am I doing something wrong?? The next sentence suggests that

Re: [R] CI using ci.numeric

2010-10-20 Thread Łukasz Ręcławowicz
2010/10/20 David A. > I am trying to calculate confidence intervals using ci.numeric from > epicalc package. If I generate a normal set of data and find the 99% and 95% > CI, they seem too narrow to me. Am I doing something wrong?? Yes. set.seed(123) x<- rnorm(200,0,1) ci.numeric(x=mean(x),n=l

[R] CI using ci.numeric

2010-10-20 Thread David A.
Hi, I am trying to calculate confidence intervals using ci.numeric from epicalc package. If I generate a normal set of data and find the 99% and 95% CI, they seem too narrow to me. Am I doing something wrong?? The IQR goes from -0.62 to 0.62, so I thought the CI limits should be more extreme t