楼主: ReneeBK
2310 1

[疑难问答]Mixed Model with Repeated Measures? [推广有奖]

  • 1关注
  • 62粉丝

VIP

已卖:4897份资源

学术权威

14%

还不是VIP/贵宾

-

TA的文库  其他...

R资源总汇

Panel Data Analysis

Experimental Design

威望
1
论坛币
49635 个
通用积分
55.7537
学术水平
370 点
热心指数
273 点
信用等级
335 点
经验
57805 点
帖子
4005
精华
21
在线时间
582 小时
注册时间
2005-5-8
最后登录
2023-11-26

楼主
ReneeBK 发表于 2014-6-6 22:59:04 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
I am analyzing some data from a home visiting program.  Because there are repeated measures, and some of those measures are missing at random, the literature suggests that I use a mixed model analysis in spss.  I have some questions since I haven't done this before.

On the first slide (after analyze-mixed models-linear), I put in client ID as the subject variable and time as the repeated measure.  What would be the appropriate "repeated covariance type" on this slide?  I assume the repeated measure (nurturing assessment) would be correlated since the same assessment was given over time.

On the second slide I have put in time, primary language, and ethnicity as fixed factors.  What would I put in, if anything, for random effects?

I also want to study dosage (# of home visits per client) and how it effects nurturing---but it is a continuous variable.  How can I do this?  I've thought since the # varies from 2 to 72 home visits that I could categorize
the visits to low, medium, and high.  Would that be appropriate to enter as a fixed variable?

I do have number of months enrolled in the program and can enter that number in as a covariate.

Thanks


二维码

扫码加我 拉你入群

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

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

关键词:mixed model Repeated measures Measure repeat literature measures repeated Because before

本帖被以下文库推荐

沙发
ReneeBK 发表于 2014-6-6 23:00:48
*Generate Data.
set seed 65923454.

new file.
input program.
compute subject=-99.
compute group = -99.
leave subject to group.
loop subject= 1 to 1000.
loop group = 1 to 3.
compute y = rv.normal(0,1).
end case.
end loop.
end loop.
end file.
end input program.
execute.




USE ALL.
COMPUTE filter_$=(uniform(1)<=.95).
VARIABLE LABELS filter_$ 'Approximately 95% of the cases (SAMPLE)'.
FORMATS filter_$ (f1.0).
FILTER  BY filter_$.
EXECUTE.




IF  (filter_$=0) y=$SYSMIS.
EXECUTE.




delete variables filter_$.




MIXED y BY group
   /FIXED=group  | SSTYPE(3)
   /METHOD=REML
   /PRINT=R
   /REPEATED=group | SUBJECT(subject) COVTYPE(diag).




MEANS TABLES=y BY group
  /CELLS=VAR COUNT.

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

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