Displaying 1 result from an estimated 1 matches for "sv_conform".
2012 May 31
1
Higher log-likelihood in null vs. fitted model
...g a model with a single predictor, and then a null model
with only the intercept. In theory, the fitted model should have a higher
log-likelihood than the null model, but that does not happen. See the
output below. My first question is, how can this happen?
> m
Call: glm(formula = school ~ sv_conform, family = binomial, data = dat,
weights = weight)
Coefficients:
(Intercept) sv_conform
-2.5430 0.2122
Degrees of Freedom: 1488 Total (i.e. Null); 1487 Residual
Null Deviance: 786.1
Residual Deviance: 781.9 AIC: 764.4
> null
Call: glm(formula = school ~ 1, family = binomia...