Displaying 1 result from an estimated 1 matches for "unpara".
Did you mean:
unpark
2005 Mar 29
2
R-squared in Logistic Regression
...lly I want to investigate
density-dependence in parasitism of larvae. Note that in the end I
perform a F-test because the dispersion factor (residual deviance /
residual df) is significantly higher than 1. But how do I make R show
the "R-squared"?
Best wishes
Johan
> y<-cbind(para,unpara)
> model<-glm(y~log(larvae),binomial)
> summary(model)
Call:
glm(formula = y ~ log(larvae), family = binomial)
Deviance Residuals:
Min 1Q Median 3Q Max
-2.0633 -1.6218 -0.1871 0.7907 2.7670
Coefficients:
Estimate Std. Error z value Pr(>|z|)
(I...