Displaying 1 result from an estimated 1 matches for "theweights".
Did you mean:
shweights
2012 Sep 20
1
Gummy Variable : Doubt
...hase, H3: equal rhythmic
components). I suppose I have to use dummy variables, but I don’t know how to
do it.
I could access something similar in a solution manual of a Weisberg
book (1985), chapter 6, problem 9, as follows:
m1 <- lm(Yvar~ Xvar + Fvar + Fvar:Xvar, na.action=na.omit, weights=theWeights) # this is model 1 the most general
m2 <- lm(Yvar~ Xvar + Fvar , na.action=na.omit, weights=theWeights) # this is model 2 parallel
m3 <- lm(Yvar~ Xvar + Fvar:Xvar , na.action=na.omit, weights=theWeights) # this is model 3 common intercept
m4 <- lm(Yvar~ Xvar ...