BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
EmilieRo
Calcite | Level 5

Hi,

 

Context : the objective is to compare the effect of 8 treatments on a quantitative variable. Data were available for 223 patients (+ or - 27 patients per group).

 

The data don't follow a normal distribution so i would like to calculate median differences between groups with corrected 95%CIs.

This paper describe how to calculate median differences and 95%CIs between two groups https://www.lexjansen.com/pharmasug/2000/Coders/cc01.pdf

But i don't find statistical formula to directly calculate the 95% CI for medians between more than two groups...

 

Do you know what procedure will do this? Or do you have documentations about this?

 

Thanks 

 

1 ACCEPTED SOLUTION

Accepted Solutions
EmilieRo
Calcite | Level 5

To begin, thank you for your answers.

 

@ballardw : I used kruskal-Wallis one-way analysis with Dunn's post-tests and i presented the data with median and IQR in the paper. The reviewers asked me to describe data with median differences and 95%CI between groups. He said :"generally  it is not helpful to refer to a "statistical difference". As a reader i would like to see the magnitude of the difference and the confidence intervals that should be applied to it"

I would like to calculate this median differences and adjusted for multiple comparisons. There are 8 treatments groups so i had to realise 28 multiples comparisons.

The treatment variable is categorical

 

I tested the @Rick_SAS's method, i did proc quantreg and i used the estimate statment but i don't know what test i have to use for multiple comparisons, Sidak?

 

I read in papers that authors used bootstrap approach, is it a better approach?

 

Thanks

View solution in original post

4 REPLIES 4
Rick_SAS
SAS Super FREQ

I haven't done this for more than two groups, but here are two ideas:

 

1. PROC MULTTEST was designed to allow for nonnormal distributions. You can use the BOOTSTRAP or PERMUTATION options on the PROC MULTTEST statement to perform pairwise comparisons of means (not medians, as you requested).

 

2. If you really want medians, you can use PROC QUANTREG to examine the difference of medians. My blog post shows how to use the ESTIMATE statement to perform s test for the significance of the difference. You can use the ADJUST= option to adjust for multiple comparisons.

ballardw
Super User

I would ask what is type of analysis or what do you want to say about the "more than two groups"?

And what type of data is your sample: categorical, ordinal or interval?

 

Maybe Kruskal-Wallis test or Proc Npar1way Median ?

 

EmilieRo
Calcite | Level 5

To begin, thank you for your answers.

 

@ballardw : I used kruskal-Wallis one-way analysis with Dunn's post-tests and i presented the data with median and IQR in the paper. The reviewers asked me to describe data with median differences and 95%CI between groups. He said :"generally  it is not helpful to refer to a "statistical difference". As a reader i would like to see the magnitude of the difference and the confidence intervals that should be applied to it"

I would like to calculate this median differences and adjusted for multiple comparisons. There are 8 treatments groups so i had to realise 28 multiples comparisons.

The treatment variable is categorical

 

I tested the @Rick_SAS's method, i did proc quantreg and i used the estimate statment but i don't know what test i have to use for multiple comparisons, Sidak?

 

I read in papers that authors used bootstrap approach, is it a better approach?

 

Thanks

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
  • 4 replies
  • 5696 views
  • 1 like
  • 4 in conversation