[R] Estimated Effects Not Balanced

peter dalgaard pdalgd at gmail.com
Wed Aug 24 12:00:31 CEST 2016


On 22 Aug 2016, at 17:15 , Justin Thong <justinthong93 at gmail.com> wrote:

> Something does not make sense in R. It has to do with the question of
> balance and unbalance.
> 
> *A<-factor(c(1,1,1,1,1,1,2,2,2,2,2,2))*
> *B<-factor(c(1,1,2,2,3,3,1,1,2,2,3,3))*
> *y<-rnorm(12)*
> *mod<-aov(y~A+B)*


As an aside, notice that this is one case where posting in HTML goes against your own interests (let alone the posting guide). The above cannot be cut+pasted, so fewer people will be willing to try it.

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-help mailing list