Displaying 1 result from an estimated 1 matches for "soilmodel".
Did you mean:
  colmodel
  
2012 Oct 09
1
car::linearHypothesis Sum of Sqaures Error?
...-1),3,2)
dimnames(Transect_moisture_contrasts)<-list(levels(env$Moisture),c("I vs. X&M","X vs. M"))
contrasts(env$Moisture)<-Transect_moisture_contrasts
> contrasts(env3l$Moisture)
  I vs. X&M X vs. M
X        -1       1
I         2       0
M        -1      -1
soilmodel<-lm(MSOIL~Forest+Burn*Thin*Moisture+ROCK,data=env3l)
> linearHypothesis(soilmodel,"MoistureI vs. X&M")
Linear hypothesis test
Hypothesis:
MoistureI vs. X&M = 0
Model 1: restricted model
Model 2: MSOIL ~ Forest + Burn * Thin * Moisture + ROCK
  Res.Df    RSS Df Sum of Sq...