BookmarkSubscribeRSS Feed
ablond
Fluorite | Level 6

Hi, 

 

I have a question regarding non-parametric analyses on multiple imputated datasets. 

I performed the imputation with proc mi, and now I want to use proc npar1way as the data is not normally distributed. 

 

I used the following statement with proc GLM + proc mianalyze as parametric way to compare three groups ; now I want to try this in a non-parametric way (comparing three groups). Is this even possible on an imputed dataset? 

 

thank you for your help! 

*statement after proc mi - parametric*
proc rank data = test out = rank_walk3 groups = 3;
var walk_3M; ranks walk_ranks_MI; run;
proc sort ; by _Imputation_; run;

 

proc glm data=rank_walk3;
ods select ParameterEstimates;
ods select lsmeans;
by _Imputation_;
class walk_ranks_MI (ref = '0');
model delta = walk_ranks_MI dam_baseline/solution;
lsmeans walk_ranks_MI / stderr pdiff cl;
ods output ParameterEstimates=glmparms;
ods output lsmeans = lsmeans_ds;
run;

data glmparms_; set glmparms;
if parameter='walk_ranks_MI 0' then parameter='rank0';
if parameter='walk_ranks_MI 1' then parameter='rank1';
if parameter='walk_ranks_MI 2' then parameter='rank2';
run;

 

proc mianalyze parms=glmparms_;
modeleffects Intercept rank1 rank2 DAM_baseline ;
ods select ParameterEstimates;
run;

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 0 replies
  • 783 views
  • 0 likes
  • 1 in conversation