[R] Error() model is singular - what does that mean
pdalgd at gmail.com
Mon Jul 2 22:46:41 CEST 2012
On Jul 2, 2012, at 20:02 , zetwal wrote:
> On changing the parameters; using only Error(User), I don't get any warning
> on singularity. However most tutorials I saw seemed to point to using
> Error(User/(whatever i specified before))
> Are there some rules which indicated when I should use only Error(User) and
Not really, but if you don't have a completely balanced User*A*B design, then aov() likely gets in trouble.
If I understand your original message correctly, you have 9 observations per subject but 5 levels of the within-subject factors, so that with N subjects you have 9N observations but the error model tries to fit 25N parameters and this is what triggers the error message. With just the Error(User) term, the model has just N parameters and things are fine, although I suppose you get the A*B effects tested in both strata.
> View this message in context: http://r.789695.n4.nabble.com/Error-model-is-singular-what-does-that-mean-tp4635103p4635181.html
> Sent from the R help mailing list archive at Nabble.com.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
More information about the R-help