Rev 4708 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
R version 2.4.0 beta (2006-09-25 r39510)Copyright (C) 2006 The R Foundation for Statistical ComputingISBN 3-900051-07-0R is free software and comes with ABSOLUTELY NO WARRANTY.You are welcome to redistribute it under certain conditions.Type 'license()' or 'licence()' for distribution details.R is a collaborative project with many contributors.Type 'contributors()' for more information and'citation()' on how to cite R or R packages in publications.Type 'demo()' for some demos, 'help()' for on-line help, or'help.start()' for an HTML browser interface to help.Type 'q()' to quit R.> library(mlmRev)Loading required package: lme4Loading required package: MatrixLoading required package: lattice> options(show.signif.stars = FALSE)> (fm1 <- lmer(math ~ year + (1|childid) + (1|schoolid), egsingle))Linear mixed-effects model fit by REMLFormula: math ~ year + (1 | childid) + (1 | schoolid)Data: egsingleAIC BIC logLik MLdeviance REMLdeviance16767 16795 -8380 16747 16759Random effects:Groups Name Variance Std.Dev.childid (Intercept) 0.66992 0.81849schoolid (Intercept) 0.18693 0.43235Residual 0.34700 0.58907number of obs: 7230, groups: childid, 1721; schoolid, 60Fixed effects:Estimate Std. Error t value(Intercept) -0.780482 0.061088 -12.78year 0.746123 0.005396 138.26Correlation of Fixed Effects:(Intr)year -0.031> (fm2 <- lmer(math ~ year + (1|childid) + (year|schoolid), egsingle))Linear mixed-effects model fit by REMLFormula: math ~ year + (1 | childid) + (year | schoolid)Data: egsingleAIC BIC logLik MLdeviance REMLdeviance16494 16536 -8241 16472 16482Random effects:Groups Name Variance Std.Dev. Corrchildid (Intercept) 0.672304 0.81994schoolid (Intercept) 0.166812 0.40843year 0.011584 0.10763 0.443Residual 0.324516 0.56966number of obs: 7230, groups: childid, 1721; schoolid, 60Fixed effects:Estimate Std. Error t value(Intercept) -0.77709 0.05823 -13.34year 0.76296 0.01533 49.76Correlation of Fixed Effects:(Intr)year 0.358> (fm3 <- lmer(math ~ year + (year|childid) + (1|schoolid), egsingle))Linear mixed-effects model fit by REMLFormula: math ~ year + (year | childid) + (1 | schoolid)Data: egsingleAIC BIC logLik MLdeviance REMLdeviance16529 16571 -8259 16505 16517Random effects:Groups Name Variance Std.Dev. Corrchildid (Intercept) 0.648102 0.80505year 0.021517 0.14669 0.463schoolid (Intercept) 0.153679 0.39202Residual 0.301196 0.54881number of obs: 7230, groups: childid, 1721; schoolid, 60Fixed effects:Estimate Std. Error t value(Intercept) -0.793071 0.056099 -14.14year 0.747158 0.006357 117.54Correlation of Fixed Effects:(Intr)year 0.065> (fm4 <- lmer(math ~ year+(year|childid)+(year|schoolid), egsingle))Linear mixed-effects model fit by REMLFormula: math ~ year + (year | childid) + (year | schoolid)Data: egsingleAIC BIC logLik MLdeviance REMLdeviance16353 16408 -8168 16326 16337Random effects:Groups Name Variance Std.Dev. Corrchildid (Intercept) 0.640472 0.80030year 0.011258 0.10611 0.551schoolid (Intercept) 0.168556 0.41056year 0.011264 0.10613 0.398Residual 0.301432 0.54903number of obs: 7230, groups: childid, 1721; schoolid, 60Fixed effects:Estimate Std. Error t value(Intercept) -0.7792 0.0583 -13.36year 0.7631 0.0154 49.56Correlation of Fixed Effects:(Intr)year 0.356> q("no")