楼主: pkujinxin
4694 7

请问stata做多层线性(三层)如何做? [推广有奖]

  • 1关注
  • 0粉丝

已卖:35份资源

大专生

10%

还不是VIP/贵宾

-

威望
0
论坛币
66276 个
通用积分
0.2060
学术水平
0 点
热心指数
1 点
信用等级
0 点
经验
714 点
帖子
28
精华
0
在线时间
57 小时
注册时间
2008-7-31
最后登录
2019-12-31

楼主
pkujinxin 发表于 2012-8-10 18:16:33 |AI写论文
5论坛币
如题……请高手指教……
数据为截面数据

最佳答案

夸克之一 查看完整内容

我刚刚打错了是xtmixed,垂直分层模型(HLM)和多层回归模型(Multilevel)是一个意思。
关键词:Stata tata 多层线性 截面数据 如何

沙发
夸克之一 发表于 2012-8-10 18:16:34
pkujinxin 发表于 2012-8-10 19:36
谢谢,你说的xtmixed是不是只能针对面板数据呢,我的数据是截面,可以吗……
我刚刚 help xtmixed,
说 ...
我刚刚打错了是xtmixed,垂直分层模型(HLM)和多层回归模型(Multilevel)是一个意思。

藤椅
夸克之一 发表于 2012-8-10 18:30:08
xtmix

板凳
pkujinxin 发表于 2012-8-10 18:36:18
夸克之一 发表于 2012-8-10 18:30
xtmix
谢谢,你说的xtmixed是不是只能针对面板数据呢,我的数据是截面,可以吗……
我刚刚 help xtmixed,
说明用来分析Multilevel mixed-effects linear regression
这个模型和hierarchical linear modeling是一回事儿吗……

报纸
pkujinxin 发表于 2012-8-10 18:38:48
夸克之一 发表于 2012-8-10 18:30
xtmix
我看到了,可以用截面数据,非常感谢哈

地板
pkujinxin 发表于 2012-8-10 18:45:29
我看到论坛有问类似问题的帖子,也有高手给出的答案用xtmixed
但我们共同的困惑都是这个命令是不是可以用在截面数据中,下面这段表述可以用来回答了:
    xtmixed fits linear mixed models.  Mixed models are characterized as containing both fixed effects and random effects.  The fixed effects are analogous to standard regression
    coefficients and are estimated directly.  The random effects are not directly estimated but are summarized according to their estimated variances and covariances.  Although random
    effects are not directly estimated, you can form best linear unbiased predictions (BLUPs) of them (and standard errors) by using predict after xtmixed; see [XT] xtmixed
    postestimation.  Random effects may take the form of either random intercepts or random coefficients, and the grouping structure of the data may consist of multiple levels of nested
    groups.  As such, mixed models are also known in the literature as multilevel models and hierarchical linear models. The overall error distribution of the linear mixed model is
    assumed to be Gaussian, and heteroskedasticity and correlations within lowest-level groups also may be modeled.

7
海韵芊芊 发表于 2012-8-10 23:40:32
楼主做出来了吗?
做最好的我

8
窗前的灯笼树 学生认证  发表于 2018-4-1 19:44:50
楼主数据量大么?我的数据量大的时候似乎stata无效啊。。。跑不出来结果。。。。一直显示在运算中

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-21 06:27