Comparing two models
Posted: Tue Jun 07, 2016 9:05 pm
Hello,
I just run three models with R2MLwiN and I would like to compare each other.
I have tied to find the command but I didn't find something that works.
Could you please help me with that.
Below you have the models:
(m.empty <- runMLwiN(logit(EdPerform2c) ~ 1 + (1 | iID), D = "Binomial", estoptions = list(EstM = 1), data = EducationNoMissingData))
(m.level.1 <- runMLwiN(logit(EdPerform2c) ~ 1 + AgeO + Gender + Provenance2c + exPunishment2c +
cEdType4c + KnowStay2c + FriendAdult2c + Homework2c +
(1 | iID), D = "Binomial", estoptions = list(EstM = 1), data = EducationNoMissingData))
(m.level.1and2 <- runMLwiN(logit(EdPerform2c) ~ 1 + AgeO + Gender + Provenance2c + exPunishment2c +
cEdType4c + KnowStay2c + FriendAdult2c + Homework2c +
REducation + RHealth + iChildStaffNight2c +
iOrganization + (1 | iID), D = "Binomial", estoptions = list(EstM = 1),
data = EducationNoMissingData))
Thank you so much!
Adrian
I just run three models with R2MLwiN and I would like to compare each other.
I have tied to find the command but I didn't find something that works.
Could you please help me with that.
Below you have the models:
(m.empty <- runMLwiN(logit(EdPerform2c) ~ 1 + (1 | iID), D = "Binomial", estoptions = list(EstM = 1), data = EducationNoMissingData))
(m.level.1 <- runMLwiN(logit(EdPerform2c) ~ 1 + AgeO + Gender + Provenance2c + exPunishment2c +
cEdType4c + KnowStay2c + FriendAdult2c + Homework2c +
(1 | iID), D = "Binomial", estoptions = list(EstM = 1), data = EducationNoMissingData))
(m.level.1and2 <- runMLwiN(logit(EdPerform2c) ~ 1 + AgeO + Gender + Provenance2c + exPunishment2c +
cEdType4c + KnowStay2c + FriendAdult2c + Homework2c +
REducation + RHealth + iChildStaffNight2c +
iOrganization + (1 | iID), D = "Binomial", estoptions = list(EstM = 1),
data = EducationNoMissingData))
Thank you so much!
Adrian