全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1910 1
2018-08-29
如下SAS程序,为什么要把 intercept 作为随机效应? 只放nap结果貌似一样。第二个问题random intercept nap/ subject=beach;这里面subject=beach是什么意思?多谢指导!

SAS程序
proc mixed data=rikz;
class beach;
model richness=nap /intercept;
random intercept nap/ subject=beach;
run;
二维码

扫码加我 拉你入群

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

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

全部回复
2018-8-30 09:31:49
subject=beach, here means that for each beach (a Class variable) we will treat the intercept is from a distribution, that means there is variability between two beaches.

Just like in clinicla trial, we model the longitudinal data of many patients, subject=patientID, means that each patient intercept may be variable.

Hope it is helpful to you.
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群