楼主: 62456
37 0

[有偿编程] 谁会用R软件做4层回归模型multi level modeling!急求帮忙,酬谢可再谈! [推广有奖]

  • 0关注
  • 0粉丝

硕士生

68%

还不是VIP/贵宾

-

威望
0
论坛币
444 个
通用积分
0.0296
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
549 点
帖子
89
精华
0
在线时间
72 小时
注册时间
2024-4-21
最后登录
2026-2-5

楼主
62456 发表于 2026-1-23 03:09:22 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

For example, the regression equations I am using are shown in the figure.

Based on these equations, I would like to ask whether this R code correctly reflects the model described by the equations above.

#model ////
conditional <- lmer(READING~ TIME + SCHSES_cen + SCHTYPE  +GENDER +AGE_cen  + (TIME|COUNTRY)+(1|COUNTRY:CYCLE)+(1|COUNTRY:CYCLE:SCHOOL), data=data,REML = FALSE, control=lmerControl(optimizer="bobyqa", optCtrl=list(maxfun=1e5)))
summary(conditional)

In addition, (TIME|COUNTRY) represent the slope of Time may vary as a function of the country. So I can get both fixed and random components of Π000k and Π001k.  (1|COUNTRY:CYCLE) and (1|COUNTRY:CYCLE:SCHOOL) represent the random intercept model at level 2 and level 1.

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Modeling Level model multi mode

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-2-7 07:45