d**********2 发帖数: 14 | 1 Hi,
在用SAS做ANOVA analysis的时候(我用的是proc glm), 怎么样specify哪些variable是
within-subject effect, 哪些variable是between-subject effect? 我知道所有
repeated measures variables都是within-subject effect, 可是我的data不属于这种
情况啊, 而且如果有多于两个viariables属于within-subject effects, 这个repeated
option很不好用啊, 没办法specify两个或者两个以上的repeated measures
variables.
万分感激!
Laomao | a**j 发帖数: 60 | 2 你要知道是random effect 还是fixed effect, 用factorial model 还是nested model
between-subject effect
within-subject effect
with group, between group?
如果是的话, 用nested model
一个women right 的题 的部分SAS code 及解释
/*Conduct anova specifies that both ciri and wecon are categorial variable,
nest model ciri is nested with wecon specifies that ciri is random variable
. Conduct model diagnostics by plots=diagnostics option*/
ods graphics on;
proc glm data=torture1 PLOTS=DIAGNOSTICS ;
class ciri wecon;
model physint1=wecon ciri(wecon)/e1 e2 e3;
random ciri(wecon);
run;
ods graphics off; |
|