3 Jun 06:38
[R-sig-eco] Inference, logistic regression
Dear list,
Please pardon this beginner's-level question, I feel it's not quite up
to the same caliber as recent discussions.
I'm working with a simple logistic regression model comparing the
presence/absence of an insect species against an index of plant
species turnover:
> foo<-glm(bout.psol$pres.de~bout.psol$index,family=binomial)
The term bout.psol$pres.de is binary 0,1; and bout.psol$index is continuous.
I'd like to use a likelihood ratio statistic to test the significance
of this regression, but I'm a little uncertain as how to proceed.
When I call summary(foo), I get...
Call:
glm(formula = bout.psol$pres.de ~ bout.psol$index,
family = binomial)
Deviance Residuals:
Min 1Q Median 3Q Max
-1.7180 -1.1289 0.6314 1.0323 1.7499
Coefficients:
Estimate Std. Error z value Pr(>|z|)
(Intercept) 0.30584 0.23095 1.324 0.18542
bout.psol.edit$index 0.04552 0.01439 3.163 0.00156 **
---
(Continue reading)
RSS Feed