由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - Help: SAS proc mixed to get between/within subgroup variance
相关主题
请教高手 gaussian统计知识一问样本数量问题求助
请教:Repeated measures ANOVA (SAS proc mix)请高手帮我看看:glimmix model 有更好的 建议吗?
问一个有关marketing的统计问题R 如何自动保存结果到PDF里面?
推荐一个R package for gene-set/pathway analysis请问,3个binary variable怎么做这样的 hypothesis test
有人做过meta analysis吗?事关毕业,务必指点! covariance structure
quantile regressionUrgent! Intra-observer variability
请问统计硕士作modeling 还是data management 有前途?关于实验设计的问题
真诚求审稿机会:statistical genetics and genetics epidemiolog (转载)再问proc mixed。
相关话题的讨论汇总
话题: subgroup话题: variance话题: random话题: covtest话题: within
进入Statistics版参与讨论
1 (共1页)
q**t
发帖数: 36
1
I met a problem to test a nested design with 4 levels. There are one fixed
effect x1.
random effects are nested A, B(A), C( B*A)
For each subgroup C, there are D repeated measurements.
I need to estimated the variance within each subgroup C. Also
I want to test for each subgroup B, the variance within subgroup C
heterogeneous or not?
To estimate the variance within C, here is my code:
*** I try to test the heterogeneity using covtest;
proc mixed data= data4analysis cl covtest ;
class A B C D;
model Y = X1/ss3 solution ddfm =bw;
random intercept/ subject =A;
random intercept/ subject =B(A);
random intercept/ subject =C(B*A);
repeated D / subject =C(B*A) group =B;
run;
Is the estimation correct? Why can't get any variance likely ratio test as
when use repeated statement only and delete all the random effects? As
following:
proc mixed data= data4analysis cl covtest ;
class A B C D;
model Y = X1/ss3 solution ddfm =bw;
repeated D / subject =C(B*A) group =B;
run;
The estimations are different in this way.
Can anyone help me on this? Thanks a lot!
s******0
发帖数: 1269
2
第一个,没明白你的design structure.你想说的是有random*random interaction?
第二个,你觉得这2段code想要做的东西一样吗?不一样的话结果为什么要一样呢?
q**t
发帖数: 36
3
Design structure is like this:
level A : 1 2 .... 5
level B : a b c d l m
level C: x y z
level D repeat: 1 1 1
2 2 2
3 3 3

So all levels A, B, C are random and D is repeat
I thought the first code is more suitable for estimation of the variance
within each subgroup C ,for each group B. I might messed up here.

2nd one is not assume that A, B, C are random, but it can give me a covtest
result of the variance homogeneity across the groups B.
1 (共1页)
进入Statistics版参与讨论
相关主题
再问proc mixed。有人做过meta analysis吗?
microarray 统计问题请教!!quantile regression
这是什么design呀?repeated measure and nested design?请问统计硕士作modeling 还是data management 有前途?
什么软件能解决multinomial logistic regression with repeated measure真诚求审稿机会:statistical genetics and genetics epidemiolog (转载)
请教高手 gaussian统计知识一问样本数量问题求助
请教:Repeated measures ANOVA (SAS proc mix)请高手帮我看看:glimmix model 有更好的 建议吗?
问一个有关marketing的统计问题R 如何自动保存结果到PDF里面?
推荐一个R package for gene-set/pathway analysis请问,3个binary variable怎么做这样的 hypothesis test
相关话题的讨论汇总
话题: subgroup话题: variance话题: random话题: covtest话题: within