楼主: 6417
2767 3

HLM软件怎么做interaction terms [推广有奖]

  • 0关注
  • 0粉丝

高中生

67%

还不是VIP/贵宾

-

威望
0
论坛币
1 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
446 点
帖子
8
精华
0
在线时间
46 小时
注册时间
2013-3-19
最后登录
2020-5-18

楼主
6417 发表于 2014-11-11 16:14:55 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
我的模型有两个level,怎么能用HLM 做出来interaction terms呢?请帮帮忙,能不能直接用HLM软件做出来还是要用其他的?
二维码

扫码加我 拉你入群

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

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

关键词:interaction interact Action Terms inter terms 软件

沙发
hzpv 发表于 2014-11-11 16:26:03
第二层除常数项外,其它的方程里的变量就是交互项

藤椅
6417 发表于 2014-11-11 16:44:20
hzpv 发表于 2014-11-11 16:26
第二层除常数项外,其它的方程里的变量就是交互项
Level 1 model:

Yij = β0j + β1j*(BAKGRD3) + β2j*(BAKGRD4) + β3j*(BAKGRD6) + β4j*(BAKGRD7) + β5j*(PARSIT1) + β6j*(BULLY1) + β7j*(STAT1) + β8j*(STAT2) +β9j*(STAT3) + β10j*(STAT4) +β11j*(STAT5) + rij
(i means the ith student; j means the jth school; Yij means the mathematic achievement score of ith student in jth school; B0j represents the intercept in the jth school; B1j, β2j, …, β11j indicates the beta coefficient for corresponding level-1 variable in the jth school; rij is the random error in the jth school)

Level 2 model:

β0j = γ00 +γ01* (SCHSIT1) + γ02* (SCHSIT5) +γ03* (INSTR5) + γ04*(TAS3) + γ05*(SCHPRI3) + u0j
(B0j represents the intercept in the jth school; γ00 is the average intercept across the level-2 schools; u0j is level-2 random effects; γ01, …, γ05 represents the coefficient for corresponding level-2 variable in the jth school)

这是我的两层的模型, 导师让加interaction terms, 第二层的parameter不是每个变量的coefficient的嘛,这个interaction怎么加啊?

板凳
hzpv 发表于 2014-11-12 21:16:22
下边β1j*后边的那个方程加上的变量就是 BAKGRD3的交互项,其它以此类推。右下角有个mixed的按钮,按下去就可以看出最后方程两个变量的乘积。

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-31 02:41