search for: varcdi

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

Did you mean: varadi
2009 Feb 12
0
Comparing slopes in two linear models
...9;ve looked trought the support list for methods for comparing slopes and found the three explained above: #d - whole datafrmae d$Local <- as.factor(d$Local) dHT <- subset(d, Local!='Palm') dP <- subset(d, Local!='Palm') 1 - Single dataframe procedure: fit1 <- lm(log(varCDI) ~ Local + I(log(CDI)) + Local:I(log(CDI)), data=d) fit2 <- lm(log(varCDI) ~ Local + I(log(CDI)) + Local:I(log(CDI)), data=dHT) a1 <- anova(fit1) a2 <- anova(fit2) a1 Local:I(log(CDI)) 2 1.183 0.592 7.8741 0.0005574 *** Residuals 152 11.421 0.075 a2 Local:I(log(CDI))...