Displaying 1 result from an estimated 1 matches for "4pv5mh".
2008 May 09
1
lme() with two random effects
...h combination of 4 within-Ss factors ('con','int','tone','cue').
Additionally, I have recorded the gender of each participant, so this
forms a between-Ss factor ('gender'). Normally this would be analyzed
using aov:
a=read.table('http://tinyurl.com/4pv5mh')
a$sub = factor(a$sub)
aov( #this may take a while!
x~gender*con*int*tone*cue+Error(sub/(con*int*tone*cue))
,data=a
)
However, I'd like to also look at any effects of age, recorded in
months ('age'). Since subjects were randomly sampled, their age should
be a random effect a...