BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Giampaolo
Obsidian | Level 7

Hi,

I would like to pool the results of  contrasts statements after multiple imputation. Is there a way to do it? 

Thank you 

My code is the following:


proc glm data = MI_dataset outstat= stat;
by _imputation_;
class &catvar;
model iNPI=&catvar;
contrast 'linear' &catvar -3 -1 1 3;
contrast 'quadratic' &catvar 1 -1 -1 1;
contrast 'cubic' &catvar -1 3 -3 1;
run;quit;

1 ACCEPTED SOLUTION

Accepted Solutions
SAS_Rob
SAS Employee

Because MIANALYZE only works and point estimates and their standard errors, you would need to convert these to ESTIMATE statements.

 

See the example at the bottom of this usage note for how to combine the ESTIMATE statements.

https://support.sas.com/kb/48/700.html 

View solution in original post

3 REPLIES 3
SAS_Rob
SAS Employee

Because MIANALYZE only works and point estimates and their standard errors, you would need to convert these to ESTIMATE statements.

 

See the example at the bottom of this usage note for how to combine the ESTIMATE statements.

https://support.sas.com/kb/48/700.html 

Giampaolo
Obsidian | Level 7

Thank you!

Is it possible then to use the estimate statement, instead of the contrast statement, to test for a trend ? As in my code obtained from  https://support.sas.com/kb/22/912.html?

 

Saifulinfs
Fluorite | Level 6
Hello, I am also facing the same issue; testing for trend with multiply imputed data. How did you solve that?

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
  • 3 replies
  • 891 views
  • 3 likes
  • 3 in conversation