Last updated on 2024-12-21 15:50:07 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1 | 9.49 | 88.71 | 98.20 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.1 | 6.89 | 65.41 | 72.30 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.1 | 151.42 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.1 | 146.94 | OK | |||
r-devel-windows-x86_64 | 0.1 | 9.00 | 96.00 | 105.00 | OK | |
r-patched-linux-x86_64 | 0.1 | 8.36 | 86.55 | 94.91 | OK | |
r-release-linux-x86_64 | 0.1 | 8.05 | 87.54 | 95.59 | OK | |
r-release-macos-arm64 | 0.1 | 46.00 | OK | |||
r-release-macos-x86_64 | 0.1 | 118.00 | OK | |||
r-release-windows-x86_64 | 0.1 | 10.00 | 106.00 | 116.00 | OK | |
r-oldrel-macos-arm64 | 0.1 | 40.00 | ERROR | |||
r-oldrel-macos-x86_64 | 0.1 | 102.00 | ERROR | |||
r-oldrel-windows-x86_64 | 0.1 | 11.00 | 96.00 | 107.00 | ERROR |
Version: 0.1
Check: examples
Result: ERROR
Running examples in ‘gammi-Ex.R’ failed
The error most likely occurred in:
> ### Name: exam
> ### Title: Cross-Classified Examination Data
> ### Aliases: exam
> ### Keywords: datasets
>
> ### ** Examples
>
> # load 'exam' help file
> ?exam
exam package:gammi R Documentation
_<08>C_<08>r_<08>o_<08>s_<08>s-_<08>C_<08>l_<08>a_<08>s_<08>s_<08>i_<08>f_<08>i_<08>e_<08>d _<08>E_<08>x_<08>a_<08>m_<08>i_<08>n_<08>a_<08>t_<08>i_<08>o_<08>n _<08>D_<08>a_<08>t_<08>a
_<08>D_<08>e_<08>s_<08>c_<08>r_<08>i_<08>p_<08>t_<08>i_<08>o_<08>n:
Scores on secondary school leaving examinations (response) and
verbal reasoning scores in primary school (fixed effect) for 3435
students in Fife, Scotland. The students are cross-classified in
148 primary schools (random effect) and 19 secondary schools
(random effect).
_<08>U_<08>s_<08>a_<08>g_<08>e:
data("exam")
_<08>F_<08>o_<08>r_<08>m_<08>a_<08>t:
A data frame with 3435 observations on the following 4 variables.
‘VRQ.score’ Verbal Reasoning Quotient obtained in primary school
(integer vector ranging from 70 to 140)
‘Exam.score’ Leaving examination score obtained in secondary
school (integer vector ranging from 1 to 10)
‘Primary.school’ Primary school identifier (factor with 148
levels)
‘Secondary.school’ Secondary school identifier (factor with 19
levels)
_<08>D_<08>e_<08>t_<08>a_<08>i_<08>l_<08>s:
The VRQ scores were obtained at age 12 (right before entering
secondary school), and the Exam scores were obtained at age 16
(right before leaving secondary school). The VRQ scores are
constructed to have a population mean of 100 and population
standard deviation of 15. The goal is to predict the leaving Exam
scores from the VRQ scores while accounting for the primary and
secondary school cross-classifications.
_<08>S_<08>o_<08>u_<08>r_<08>c_<08>e:
Data Obtainable from:
<https://www.bristol.ac.uk/cmm/team/hg/msm-3rd-ed/datasets.html>
_<08>R_<08>e_<08>f_<08>e_<08>r_<08>e_<08>n_<08>c_<08>e_<08>s:
Goldstein, H. (2011). Multilevel Statistical Models, 4th Edition.
Chapter 12: Cross-classified data structures (pages 243-254).
doi:10.1002/9780470973394 <https://doi.org/10.1002/9780470973394>
Paterson, L. (1991). Socio-economic status and educational
attainment: a multidimensional and multilevel study. Evaluation
and Research in Education, 5, 97-121.
doi:10.1080/09500799109533303
<https://doi.org/10.1080/09500799109533303>
_<08>E_<08>x_<08>a_<08>m_<08>p_<08>l_<08>e_<08>s:
# load 'exam' help file
?exam
# load data
data(exam)
# header of data
head(exam)
# fit model
mod <- gammi(Exam.score ~ VRQ.score, data = exam,
random = ~ (1 | Primary.school) + (1 | Secondary.school))
# plot results
plot(mod)
# summarize results
summary(mod)
# variance parameters
mod$VarCorr
>
> # load data
> data(exam)
>
> # header of data
> head(exam)
VRQ.score Exam.score Primary.school Secondary.school
1 111 10 1 9
2 100 3 1 9
3 86 2 1 9
4 94 3 1 9
5 70 2 1 9
6 83 2 1 9
>
> # fit model
> mod <- gammi(Exam.score ~ VRQ.score, data = exam,
+ random = ~ (1 | Primary.school) + (1 | Secondary.school))
Error in crossprod(x, y) :
requires numeric/complex matrix/vector arguments
Calls: gammi ... gammi.formula -> gammi.default -> rbind -> crossprod
Execution halted
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Version: 0.1
Check: examples
Result: ERROR
Running examples in 'gammi-Ex.R' failed
The error most likely occurred in:
> ### Name: exam
> ### Title: Cross-Classified Examination Data
> ### Aliases: exam
> ### Keywords: datasets
>
> ### ** Examples
>
> # load 'exam' help file
> ?exam
exam package:gammi R Documentation
_<08>C_<08>r_<08>o_<08>s_<08>s-_<08>C_<08>l_<08>a_<08>s_<08>s_<08>i_<08>f_<08>i_<08>e_<08>d _<08>E_<08>x_<08>a_<08>m_<08>i_<08>n_<08>a_<08>t_<08>i_<08>o_<08>n _<08>D_<08>a_<08>t_<08>a
_<08>D_<08>e_<08>s_<08>c_<08>r_<08>i_<08>p_<08>t_<08>i_<08>o_<08>n:
Scores on secondary school leaving examinations (response) and
verbal reasoning scores in primary school (fixed effect) for 3435
students in Fife, Scotland. The students are cross-classified in
148 primary schools (random effect) and 19 secondary schools
(random effect).
_<08>U_<08>s_<08>a_<08>g_<08>e:
data("exam")
_<08>F_<08>o_<08>r_<08>m_<08>a_<08>t:
A data frame with 3435 observations on the following 4 variables.
'VRQ.score' Verbal Reasoning Quotient obtained in primary school
(integer vector ranging from 70 to 140)
'Exam.score' Leaving examination score obtained in secondary
school (integer vector ranging from 1 to 10)
'Primary.school' Primary school identifier (factor with 148
levels)
'Secondary.school' Secondary school identifier (factor with 19
levels)
_<08>D_<08>e_<08>t_<08>a_<08>i_<08>l_<08>s:
The VRQ scores were obtained at age 12 (right before entering
secondary school), and the Exam scores were obtained at age 16
(right before leaving secondary school). The VRQ scores are
constructed to have a population mean of 100 and population
standard deviation of 15. The goal is to predict the leaving Exam
scores from the VRQ scores while accounting for the primary and
secondary school cross-classifications.
_<08>S_<08>o_<08>u_<08>r_<08>c_<08>e:
Data Obtainable from:
<https://www.bristol.ac.uk/cmm/team/hg/msm-3rd-ed/datasets.html>
_<08>R_<08>e_<08>f_<08>e_<08>r_<08>e_<08>n_<08>c_<08>e_<08>s:
Goldstein, H. (2011). Multilevel Statistical Models, 4th Edition.
Chapter 12: Cross-classified data structures (pages 243-254).
doi:10.1002/9780470973394 <https://doi.org/10.1002/9780470973394>
Paterson, L. (1991). Socio-economic status and educational
attainment: a multidimensional and multilevel study. Evaluation
and Research in Education, 5, 97-121.
doi:10.1080/09500799109533303
<https://doi.org/10.1080/09500799109533303>
_<08>E_<08>x_<08>a_<08>m_<08>p_<08>l_<08>e_<08>s:
# load 'exam' help file
?exam
# load data
data(exam)
# header of data
head(exam)
# fit model
mod <- gammi(Exam.score ~ VRQ.score, data = exam,
random = ~ (1 | Primary.school) + (1 | Secondary.school))
# plot results
plot(mod)
# summarize results
summary(mod)
# variance parameters
mod$VarCorr
>
> # load data
> data(exam)
>
> # header of data
> head(exam)
VRQ.score Exam.score Primary.school Secondary.school
1 111 10 1 9
2 100 3 1 9
3 86 2 1 9
4 94 3 1 9
5 70 2 1 9
6 83 2 1 9
>
> # fit model
> mod <- gammi(Exam.score ~ VRQ.score, data = exam,
+ random = ~ (1 | Primary.school) + (1 | Secondary.school))
Error in crossprod(x, y) :
requires numeric/complex matrix/vector arguments
Calls: gammi ... gammi.formula -> gammi.default -> rbind -> crossprod
Execution halted
Flavor: r-oldrel-windows-x86_64