search for: originalmodel

Displaying 1 result from an estimated 1 matches for "originalmodel".

2012 Jan 18
0
examine grouped data lmList
...ect.org/doc/contrib/Fox-Companion/appendix-mixed-models.pdf. I'm trying lmList this way: model.list <- lmList(log(v.dep) ~ log(v2) +log(v4) + v3 | v5, subset = v6=0, data=data) and obtain this error message: In Ops.factor(v4, v4) : | not meaningful for factors My original model is originalmodel <- lm(log(v.dep) ~ log(v2) +log(v4) + v3 + v5+ v6, data=data) (The thing is that I don't know how to specify that groups are in v5, where to put in the lmList statement |v5) By the way, following Fox pdf I was trying as well to group my data, as this example: /attach(Bryk) cat <- s...