I am new to R and have been doing my utmost to learn it in order to teach my
students how to use it as an alternative to programs you have to purchase ­
and I am very grateful for the program and what it can doŠ.but I am having a
slight problem as I also am not very much into programming ­ though willing
to learn.

I have been trying to apply a mixed model ANOVA to some data I have. In
short ­ one repeated measure (behavior being observed with 8 levels), one
independent measure (Age with 2 levels - classified as <21 or >=21) and then
the dependent variable is the score that the subjects obtained for the
specific behavior (Frequency).

I have been trying to use the aov model set up in the following way based on
what I have searched online:
aov(Frequency~Behavior*Age+Error(Subject/Behavior)+Age, dataframe). My data
is organized such that I have the data in the long format ­ Subject,  Age,
Behavior, Frequency.

All this gives me the following error:

Warning message:
In aov(Frequency~Behavior*Age+Error(Subject/Behavior)+Age,  :
  Error() model is singular

If you would kindly excuse my ignorance, would someone please guide me as to
what I am doing wrong.

Thank you in advance.
Stephen 



        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to