求unweighted means?

3 views
Skip to first unread message

ya

unread,
Apr 19, 2014, 7:00:30 AM4/19/14
to mpluser
大家,
 
请问有人知道这个东西怎么通过SEM的方式来求么?
 
在SPSS里面,这个被叫做Estimated Marginal means(EM means),SAS里面叫做Least Square means(LS means),通常是anova结果的一部分。
 
求指点。。。。
 

ya

ya

unread,
Apr 19, 2014, 7:29:52 AM4/19/14
to mpluser
详细情况如下:
 
三层的数据,学生,教室,学校。最多含20% 缺失值。第一层包含三个(4*2*2)categorical的自变量和他们之间的二阶和三阶交互作用项。自变量dummy coded过。三层都有随机截距和随机斜率。因变量是连续变量,在第一层。
 
现在企图得到每个自变量各分类的unweigted means。
 
跪求大牛老师们指点
 
 
 

ya
 
Sender: ya
Send Time: 2014-04-19 14:00
Receiver: mpluser
Subject: [mpluser] 求unweighted means?
--
-- 本小组推荐:
http://www.statmodel.com/
http://quantpsy.org/
http://www.kthau.com/?page_id=81
http://www.caldar.org/html/2010%20Speakers/mcardle.html
http://courses.nus.edu.sg/course/psycwlm/internet/
(4 TEACHING------4.2 Some notes from previous workshops)
http://blog.sina.com.cn/u/2142257021
http://lavaan.ugent.be/
http://personality-project.org/r/r.guide.html#Intro
 
 
You received this message because you are subscribed to the Google
Groups "Mplus学习小组" group.
To post to this group, send email to mpl...@googlegroups.com
To unsubscribe from this group, send email to
mpluser+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/mpluser?hl=zh-TW
---
You received this message because you are subscribed to the Google Groups "Mplus学习小组" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mpluser+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

星牧童

unread,
Apr 19, 2014, 7:43:47 AM4/19/14
to xinxi813
据说,可以先拿协变量对研究关心的变量做回归,得到的残差代替这些变量的原始值来统计,得到的就是Marginal


------------------ 原始邮件 ------------------
发件人: "xinxi813";<xinx...@126.com>;
发送时间: 2014年4月19日(星期六) 晚上7:00
收件人: "mpluser"<mpl...@googlegroups.com>;
主题: [mpluser] 求unweighted means?
--

ya

unread,
Apr 19, 2014, 7:55:02 AM4/19/14
to mpluser
谢谢牧童啊。
 
这个marginal是weighted过的还是没有weighted过的呀?求文献。
 
关键是,在multilevel的情况下,这个平均数的standard error也不知道怎么求。
 
你旁边有高手么,帮忙扩散这个问题吧。求扩散。。。。
 

ya
 
发件人: 星牧童
发送时间: 2014-04-19 14:43
收件人: xinxi813
主题: 回复:[mpluser] 求unweighted means?

Li Huang

unread,
Apr 20, 2014, 9:18:22 PM4/20/14
to mpl...@googlegroups.com
https://www.statmodel.com/download/usersguide/Chapter9.pdf 

这个上面有讲,要用TYPE=THREELEVEL 这个语句


--

ya

unread,
Apr 21, 2014, 3:44:59 AM4/21/14
to mpl...@googlegroups.com
谢谢。

是的,这个是三层的数据,是需要这个type。只是手册上并没有说means的问题。

Li Huang

unread,
Apr 21, 2014, 4:20:43 AM4/21/14
to mpl...@googlegroups.com
  MODEL:
    %within%
    XXX;

    %between%
    XXX;

这个语句就是求mean.不过我这个是2层的,3层的稍微再改下。

ya

unread,
Apr 21, 2014, 4:29:46 AM4/21/14
to mpl...@googlegroups.com
你好,

这个语句求的是每一层方程的intercept,但是我现在在第一层还有三个categorical的IV,合起来一共有16个分组。我想得 到这16个分组各自的unweighted means。同时还需要考虑第二第三层的方差的影响,就是前面同学发的那个文献里面提到的 weight stratification的事情。

所以,目前还没有头绪要怎么得到。。。
Reply all
Reply to author
Forward
0 new messages