2
R : Copyright 2004, The R Foundation for Statistical Computing
3
Version 2.0.1 (2004-11-15), ISBN 3-900051-07-0
5
R is free software and comes with ABSOLUTELY NO WARRANTY.
6
You are welcome to redistribute it under certain conditions.
7
Type 'license()' or 'licence()' for distribution details.
9
R is a collaborative project with many contributors.
10
Type 'contributors()' for more information and
11
'citation()' on how to cite R or R packages in publications.
13
Type 'demo()' for some demos, 'help()' for on-line help, or
14
'help.start()' for a HTML browser interface to help.
18
Loading required package: Matrix
19
Loading required package: latticeExtra
20
> lme(mAch ~ meanses*cses + sector*cses,
21
+ data = Hsb82, random = ~ cses|school)
22
Linear mixed-effects model
23
Fixed: mAch ~ meanses * cses + sector * cses
25
log-restricted-likelihood: -23251.83
27
Groups Name Variance Std.Dev. Corr
28
school (Intercept) 2.37874 1.54232
29
cses 0.10235 0.31992 0.389
30
Residual 36.72091 6.05978
31
# of obs: 7185, groups: school, 160
34
Estimate Std. Error DF t value Pr(>|t|)
35
(Intercept) 12.12793 0.19926 7179 60.8636 < 2.2e-16
36
meanses 5.33286 0.36912 7179 14.4477 < 2.2e-16
37
cses 2.94503 0.15565 7179 18.9210 < 2.2e-16
38
sectorCatholic 1.22658 0.30623 7179 4.0054 6.253e-05
39
meanses:cses 1.03913 0.29898 7179 3.4755 0.0005128
40
cses:sectorCatholic -1.64264 0.23985 7179 -6.8485 8.079e-12
41
> show(lme1(mAch ~ meanses*cses + sector*cses,
42
+ data = Hsb82, random = ~ cses|school))
44
Groups Name Variance Std.Dev. Corr
45
school (Intercept) 2.37874 1.54232
46
cses 0.10235 0.31992 0.389
47
Residual 36.72091 6.05978
48
# of obs: 7185, groups: school, 160
51
Estimate Std. Error DF t value Pr(>|t|)
52
(Intercept) 12.12793 0.19926 7179 60.8636 < 2.2e-16 ***
53
meanses 5.33286 0.36912 7179 14.4477 < 2.2e-16 ***
54
cses 2.94503 0.15565 7179 18.9210 < 2.2e-16 ***
55
sectorCatholic 1.22658 0.30623 7179 4.0054 6.253e-05 ***
56
meanses:cses 1.03913 0.29898 7179 3.4755 0.0005128 ***
57
cses:sectorCatholic -1.64264 0.23985 7179 -6.8485 8.079e-12 ***
59
Signif. codes: 0 `***' 0.001 `**' 0.01 `*' 0.05 `.' 0.1 ` ' 1