Displaying 1 result from an estimated 1 matches for "hchrys".
Did you mean:
chris
2013 Apr 23
1
Writing contrast statements to test difference of slope in linear regressions
...use a -1 and a 1 when writing the contrasts. Specifically I am interested in comparing the slopes between different temperature regimes. Temperature is therefore a factor. Time and percent are numerical. Using the gmodels package I made the following model:
m2<-lm(Percent~Time+Temperature, data=Hchrys.Temp);summary(m2)
# results from m2
Call:
lm(formula = Percent ~ Time + Temperature, data = Hchrys.Temp)
Residuals:
Min 1Q Median 3Q Max
-0.098333 -0.031667 -0.003333 0.026667 0.101667
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Interc...