Re: [R] Question about statistics

2005-07-06 Thread Spencer Graves
What do you think about the following: library(nlme) set.seed(1) n - 3;m - 4 s.e - 0 (X0 - array(rep(rnorm(n), each=m)+s.e*rnorm(m*n), dim=c(m, n))) s.e - 1 (X1 - array(rep(rnorm(n), each=m)+s.e*rnorm(m*n), dim=c(m, n))) X. - data.frame(Row=as.vector(row(X)),

RE: [R] Question on statistics

2005-03-23 Thread Roy Werkman
Ehh, by limited distribution, I meant to say a population of N points. ... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roy Werkman Sent: Wednesday, March 23, 2005 10:22 AM To: r-help@stat.math.ethz.ch Subject: [R] Question on statistics Hi, Can

RE: [R] Question on statistics

2005-03-23 Thread Liaw, Andy
If the sample is drawn with replacement from the finite population, then the usual formula applies (assuming iid samples); i.e., var(sample mean) = var(population) / n. There's some problem in your description: A finite population, I believe, is necessarily discrete (since there are only N

Re: [R] Question on statistics

2005-03-23 Thread Kjetil Brinchmann Halvorsen
be it... Greetings, Roy -Original Message- From: Liaw, Andy [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 2:17 PM To: Roy Werkman; r-help@stat.math.ethz.ch Subject: RE: [R] Question on statistics If the sample is drawn with replacement from the finite population, then the usual