Displaying 1 result from an estimated 1 matches for "rsslopes".
2012 Dec 03
0
Nested ANCOVA question
...covariate of area, and tank is nested within treatment.
QUESTION 1. Have I written this code correctly? I a little confused if it should be tank/treatment of treatment/tank. From what I understand, this part is testing the equality of the slopes for each treatment group (the interaction term).
RSslopes<-aov(area~length*treatment+Error(tank/treatment),data=fishdata)
summary(RSslopes)
#Error: tank
# Df Sum Sq Mean Sq
#length 1 753.6 753.6
#
#Error: tank:treatment
# Df Sum Sq Mean Sq
#length 1 4633 4633
#
#Error: Within
# Df Sum Sq Mean Sq F value Pr(>F...