Re: [R] How to test for the difference of means in population, please help

2012-03-29 Thread ali_protocol
Dear Wu, Thank you indeed very much for your response. Is it possible that I use this method to compare the distribution of original population that this observations come from? Thank you ideed very much. On 3/28/12, alan wu [via R] ml-node+s789695n4511310...@n4.nabble.com wrote: try

[R] How to test for the difference of means in population, please help

2012-03-27 Thread ali_protocol
Dear all, Novice in statistics. I have 2 experimental conditions. Each condition has ~400 points as its response. Each condition is done in 4 repereats (so I have 2 x 400 x 4 points). I want to compare the means of two conditions and test whether they are same or not. Which test should I use?

Re: [R] How to test for the difference of means in population, please help

2012-03-27 Thread Greg Snow
You should use mixed effects modeling to analyze data of this sort. This is not a topic that has generally been covered by introductory classes, so you should consult with a professional statistician on your problem, or educate yourself well beyond the novice level (this takes more than just

Re: [R] How to test for the difference of means in population, please help

2012-03-27 Thread alan
try anova if they have same observe points. conditions-rep(c(1,2),each=1600) response-sample (1:20,1600*2, replace= TRUE) points-rep(rep(1:400, each=4),2) replicates-rep(1:4,800) obs-data.frame(response,conditions,points,replicates) fit - lm(response~conditions+points,data=obs) anova(fit) On