作者evilove (願意感動就是一種享受)
看板Statistics
標題[程式] Stata 裡的 xmixed
時間Mon Sep 14 01:03:15 2020
[軟體程式類別]:
Stata
[程式問題]:
HLM
[軟體熟悉度]:
熟悉
[問題敘述]:
不曉得為什麼第二層裡的soc_dist信賴區間為何有 missing
[程式範例]:
mixed retail_1week pro_social civic_org $ses|| state_id: soc_dist day_diff,
mle
這是第二層的結果
------------------------------------------------------------------------------
Random-effects Parameters | Estimate Std. Err. [95% Conf. Interval]
-----------------------------+------------------------------------------------
state_id: Independent |
var(soc_dist) | 2.50e-11 3.55e-08 0 .
var(day_diff) | .0160271 .0067863 .0069893 .0367518
var(_cons) | .645977 10.17222 2.55e-14 1.64e+13
-----------------------------+------------------------------------------------
var(Residual) | 100.8039 4.112288 93.05779 109.1948
------------------------------------------------------------------------------
LR test vs. linear model: chi2(3) = 231.37 Prob > chi2 = 0.0000
這是soc_dist的分布
. tab soc_dist
soc_dist | Freq. Percent Cum.
------------+-----------------------------------
0 | 2 5.26 5.26
1 | 10 26.32 31.58
2 | 14 36.84 68.42
3 | 7 18.42 86.84
4 | 3 7.89 94.74
5 | 2 5.26 100.00
------------+-----------------------------------
Total | 38 100.00
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 69.140.102.182 (美國)
※ 文章網址: https://webptt.com/m.aspx?n=bbs/Statistics/M.1600016597.A.E5F.html