Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. mm_glmm_3 <- glmer(cbind(MissedMeds_N, TotalAdministrations) ~ month_id + factor(CareHomeSize) + factor(Ratings) + (1|FacilityKey),
  2. family = "binomial", data = facs_3mth, na.action = "na.omit", nAGQ = 0)
  3.  
  4. > summary(mm_glmm_3) # negative month_id, significant
  5. Generalized linear mixed model fit by maximum likelihood (Adaptive Gauss-Hermite Quadrature, nAGQ = 0) ['glmerMod']
  6. Family: binomial ( logit )
  7. Formula: cbind(MissedMeds_N, TotalAdministrations) ~ month_id + factor(CareHomeSize) + factor(Ratings) + (1 | FacilityKey)
  8. Data: facs_3mth
  9.  
  10. AIC BIC logLik deviance df.resid
  11. 21058.9 21095.1 -10522.5 21044.9 1288
  12.  
  13. Scaled residuals:
  14. Min 1Q Median 3Q Max
  15. -16.4066 -1.0167 -0.0825 0.8157 29.3459
  16.  
  17. Random effects:
  18. Groups Name Variance Std.Dev.
  19. FacilityKey (Intercept) 2.372 1.54
  20. Number of obs: 1295, groups: FacilityKey, 171
  21.  
  22. Fixed effects:
  23. Estimate Std. Error z value Pr(>|z|)
  24. (Intercept) -5.0890719 0.4455409 -11.422 <2e-16 ***
  25. month_id -0.0062290 0.0006099 -10.213 <2e-16 ***
  26. factor(CareHomeSize)2 0.2843053 0.3637577 0.782 0.434
  27. factor(CareHomeSize)3 0.4440538 0.3985768 1.114 0.265
  28. factor(Ratings)3 0.4166752 0.3246113 1.284 0.199
  29. factor(Ratings)4 0.1053528 0.4212772 0.250 0.803
  30. ---
  31. Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
  32.  
  33. Correlation of Fixed Effects:
  34. (Intr) mnth_d f(CHS)2 f(CHS)3 fc(R)3
  35. month_id -0.011
  36. fctr(CrHS)2 -0.712 0.000
  37. fctr(CrHS)3 -0.749 0.000 0.754
  38. fctr(Rtng)3 -0.689 0.000 0.106 0.243
  39. fctr(Rtng)4 -0.429 0.001 -0.012 0.045 0.583
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement