楼主: SASCHEN
2539 0

[讨论]Question about Proc Mixed [推广有奖]

  • 0关注
  • 0粉丝

已卖:130份资源

硕士生

10%

还不是VIP/贵宾

-

TA的文库  其他...

Social Media Mining

深度學習(DEEP LEARNING)

HTML

威望
0
论坛币
2297 个
通用积分
3.6100
学术水平
4 点
热心指数
5 点
信用等级
4 点
经验
912 点
帖子
161
精华
0
在线时间
43 小时
注册时间
2005-9-25
最后登录
2022-10-29

楼主
SASCHEN 发表于 2005-9-25 11:22:00 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币

have a simple question about using "proc mixed" for repeated measurement.For example, my simple data set is like this --> (this is a made-up dataset, purely for illustration purposes)

SALES VOLUME and Promotion Spending for 8 consecutive months for 3 stores.

data my_sales; input store_id $ x_volume x_promotion mnth; cards; A 200 10 1 A 250 10 2 A 270 12 3 A 200 10 4 A 300 20 5 A 600 30 6 B 290 12 8 B 400 22 1 B 250 10 2 B 270 12 3 B 200 10 4 B 300 20 5 B 600 30 6 B 290 12 8 C 290 12 8 C 405 24 1 C 259 10 2 C 277 12 3 C 201 13 4 C 340 22 5 C 604 33 6 C 297 12 8 ; RUN;

I would like to use "compound symetry" structure for covariance to take account of repeated measurement error. That is, within a subject, error correlates over time. However, I do not believe month sequence really matters. Therefore I do not want to include 'mnth' in the model.

But if I use this ---->

Proc mixed data=my_sales; class store_id; model x_volume = x_promotion /s; repeated / type=cs subject=store_id; run;

Does it mean that repeated measurement over time has been taken care of?

--------------------------------------------------------------------------- Or, shall I use this instead -->

Proc mixed data=my_sales; class store_id; model x_volume = x_promotion mnth /s; repeated / type=cs subject=store_id; run;

????

Your help is greatly appreciated.

二维码

扫码加我 拉你入群

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

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

关键词:proc mixed question Mixed About Quest 讨论 proc question Mixed

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-25 03:09