作者Greattit (Great tit)
看板Statistics
標題[問題] 求算model中的SE
時間Tue Aug 5 08:04:46 2008
想請問在用R進行linear mixed effects models時,
我的模式中包含2的類別變數,其一者為3個group, 另一者為2個group
兩者間具有顯著的交互作用,
因為我希望可以作圖,所以需要求出各組的平均值與標準誤(SE)
平均值我是以0, 1代入模式中的x1, x2求得
但我卻不知到如何求出各組的標準誤(3*2組)
想請教各位大大...先謝謝回答了 <(_ _)>
例如:
Fixed effects: y ~ as.factor(x1) * as.factor(x2)
Value Std.Error DF t-value p-value
(Intercept) 0.02516914 0.01863787 304 1.350430 0.1779
as.factor(x1)1 -0.03142640 0.02618842 304 -1.200011 0.2311
as.factor(x1)2 -0.03182703 0.02169644 304 -1.466924 0.1434
as.factor(x2)1 -0.06134445 0.02635793 304 -2.327362 0.0206
as.factor(x1)1:as.factor(x2)1 0.11297316 0.03703602 304 3.050359 0.0025
as.factor(x1)2:as.factor(x2)1 0.06431239 0.03068339 304 2.096000 0.0369
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 210.241.53.251
1F:→ clickhere:R uses based line constrain which is different than 08/07 01:19
2F:→ clickhere:SAS. The intercept is x1=0, x2=0. 08/07 01:20
3F:→ clickhere:Apply Delta Method to get S.E. for each group. 08/07 01:20