Skip to content

Instantly share code, notes, and snippets.

@octonion
Created February 8, 2015 02:48
Show Gist options
  • Save octonion/30973d9c758d08de70d8 to your computer and use it in GitHub Desktop.
Save octonion/30973d9c758d08de70d8 to your computer and use it in GitHub Desktop.
California PBE Public vs Private ANOVA
> anova(fit0,fit1)
Data: rates
Models:
fit0: cbind(PBE., ENROLLMENT - PBE.) ~ (1 | COUNTY) + (1 | CITY) +
fit0: (1 | SCHOOL)
fit1: cbind(PBE., ENROLLMENT - PBE.) ~ (1 | COUNTY) + (1 | CITY) +
fit1: (1 | SCHOOL) + PUBLIC.PRIVATE
Df AIC BIC logLik deviance Chisq Chi Df Pr(>Chisq)
fit0 4 25964 25991 -12978 25956
fit1 5 25841 25875 -12915 25831 124.95 1 < 2.2e-16 ***
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment