[Lme4-commits] r1762 - pkg/lme4/tests

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Jun 3 15:53:22 CEST 2012


Author: bbolker
Date: 2012-06-03 15:53:21 +0200 (Sun, 03 Jun 2012)
New Revision: 1762

Added:
   pkg/lme4/tests/respiratory.R
   pkg/lme4/tests/respiratory.RData
Log:
   added respiratory test (works for Laplace, nAGQ={2,3,5}, fails in PIRLS otherwise)



Added: pkg/lme4/tests/respiratory.R
===================================================================
--- pkg/lme4/tests/respiratory.R	                        (rev 0)
+++ pkg/lme4/tests/respiratory.R	2012-06-03 13:53:21 UTC (rev 1762)
@@ -0,0 +1,9 @@
+## Data originally from Davis 1991 Stat. Med., as packaged in geepack
+## and transformed (center, id -> factor, idctr created, levels labeled)
+
+load("respiratory.RData")
+m_glmer_4.L <- glmer(outcome~center+treat+sex+age+baseline+(1|idctr),
+                     family=binomial,data=respiratory)
+## works for nAGQ={2,3,5}, fails otherwise
+m_glmer_4.GHQ8 <- glmer(outcome~center+treat+sex+age+baseline+(1|idctr),
+                        family=binomial,data=respiratory,nAGQ=5)

Added: pkg/lme4/tests/respiratory.RData
===================================================================
(Binary files differ)


Property changes on: pkg/lme4/tests/respiratory.RData
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream



More information about the Lme4-commits mailing list