[R] Question about statistics

2005-07-06 Thread Roy Werkman
Hi, Although my question is not directly linked to R functionality, I hope you can forgive me for posing it here. I have been looking for the answer for a long time (~ 4 weeks) and have not been able to find it. My question is: Suppose I have an m*n matrix, with a random (normally distributed)

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)),

[R] Question on statistics

2005-03-23 Thread Roy Werkman
Hi, Can anyone help me with the following (although not directly correlated to R functionality)? I have been looking on the internet but can not find the answer. My question: what is the variation on the mean of a limited distribution (total N points normally distributed), when I have a small

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