楼主: acexx
2552 3

HLM高难问题:How to calculate cross-level correlations [推广有奖]

  • 1关注
  • 0粉丝

硕士生

8%

还不是VIP/贵宾

-

威望
0
论坛币
786 个
通用积分
0.1800
学术水平
0 点
热心指数
2 点
信用等级
0 点
经验
166 点
帖子
42
精华
0
在线时间
175 小时
注册时间
2008-12-10
最后登录
2020-3-14

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
如题,请教高手:我建立了一个multilevel model (with 2-level ), 现在想计算每个level1variable 和每个 level2 variable的相关系数 (pairwise correlations)。请问该如何定义和测量该cross-level correlations? 如何运用统计软件或excel完成计算?注意:各种统计软件都没有直接计算cross-level correlations的命令。谢了先!
二维码

扫码加我 拉你入群

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

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

关键词:correlations correlation calculate relations relation excel 如何 软件 统计

沙发
lahraf 发表于 2013-9-30 17:28:16 |只看作者 |坛友微信交流群

Dear Acexx
To calculate cross-level correlations, request the variance-covariance matrices of
estimates of fixed effects and variance-covariance parameters based on HLM2 by
checking the print variance-covariance matrices option in the Output Settings
dialog box accessed via the Other Settings menu. The keyword PRINTVARIANCECOVARIANCE
facilitates the same purpose in batch mode.
Let
r = number of random effects at level 1.
f = number of fixed effects
p = number of outcomes in a latent variable run
pm = number of alphas in a latent variable run
For HLM2:
* tauvc.dat contains tau (tau(pi)) in r columns of r rows, the next r2 lines are the
tau(beta), and then the inverse of the information matrix (the standard errors
of tau[s] are the square roots of the diagonals).
* gamvc.dat contains the gammas and the gamma variance covariance matrix.
After the gammas, there are f more rows of f entries containing the variancecovariance
matrix.
* gamvcr.dat contains the gamma and the gamma variance covariance matrix
used to compute the robust standard errors. After the gammas, there are f rows
of f entries containing the variance covariance matrix.
Once you have gamvcr.dat, you get the correlations between any two variables X
(level-1) and Z (level-2) by taking the covariance associated with these two, and
dividing it by the square root of the product of the variances of X and Z. To get
the associated p-value, you will have to use a table of critical values for the r(n)
distribution where n is the number of level-2 observations.
If this note apprears unclear, please consult the HLM User guide
Good Luck

使用道具

藤椅
dahuya 发表于 2013-10-12 05:22:58 |只看作者 |坛友微信交流群
correlation=covariance/(SDa+SDb) a,b代表变量。

使用道具

板凳
灰兔兔~~~ 发表于 2015-1-1 23:24:08 |只看作者 |坛友微信交流群
lahraf 发表于 2013-9-30 17:28
Dear Acexx
To calculate cross-level correlations, request the variance-covariance matrices of
es ...
你好,请问这个方法计算中r(n) distribution是指什么?
另外,variance-co-variance可以计算cross-level correlation了,其中计算出的same-level correlation准吗?我怎么算出来和spss run出来不一样呢?谢谢!

使用道具

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

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-5-13 16:10