BookmarkSubscribeRSS Feed
Clemence
Calcite | Level 5

Hello,

I make multiple imputation with mixed model and I wish combine results for p-value of global interaction. I saw that there might be a macro, is it still relevant? how can I proceed ?

 

Here, my code :

proc mixed data=v1_v2_im method=reml ;
class prod (ref="Placebo") TV_VISIT_TMP(ref="V1") id_bis;
model changeVn_V0 = prod TV_VISIT_TMP prod*TV_VISIT_TMP / s ddfm=kenwardroger;
repeated TV_VISIT_TMP / subject=id_bis type=CS;
lsmeans prod*TV_VISIT_TMP / slice=TV_VISIT_TMP cl;
slice prod*TV_VISIT_TMP / sliceby(TV_VISIT_TMP="V1") cl pdiff=control("Placebo" "V1");
slice prod*TV_VISIT_TMP / sliceby(TV_VISIT_TMP="V2") cl pdiff=control("Placebo" "V2");
by simul _Imputation_;
ods output SolutionF=mixparms ;
ods output SliceDiffs=slicev1v2;
run;

 

proc mianalyze parms(classvar=full)=mixparms ;
class prod TV_VISIT_TMP;
modeleffects Intercept prod TV_VISIT_TMP prod*TV_VISIT_TMP ;
by simul;
ods output ParameterEstimates=param_simul;
run;

 

Thanks,
Clemence

1 REPLY 1
Clemence
Calcite | Level 5

The macro use SAS IML and I don't have this module. Is there another solution ?

 

Thanks;

Clemence

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 564 views
  • 0 likes
  • 1 in conversation