Re: [R] question about 1-way anova

2013-05-11 Thread peter dalgaard
On May 11, 2013, at 06:10 , meng wrote: > Hi all: > > I have a question about one-way anova. > > The data is ¡°sleep¡±which belongs to R. > > > > code1: > > summary(lm(extra~group)) > > > > Estimate of group2(1.58) is the difference between mean of group1 and > group2,and t value(1.861)

[R] question about 1-way anova

2013-05-10 Thread meng
Hi all: I have a question about one-way anova. The data is ¡°sleep¡±which belongs to R. code1: summary(lm(extra~group)) Estimate of group2(1.58) is the difference between mean of group1 and group2,and t value(1.861) and p value(0.0792) is the same as 2 sample t test,and the code is ¡°