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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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