BookmarkSubscribeRSS Feed
bhr-q
Obsidian | Level 7

I want to compare the median of a continuous variable  b/n two groups using quantile regression, as you see below, when I set the quantile to 0.75, I receive output that includes p-values and difference estimates table. However, adjusting the quantile to 0.5 does not yield the second table with these details. Could you please advise on how to address this issue?

 

bhrq_0-1720459730008.pngbhrq_1-1720459802788.png

 

here is my code:

proc quantreg data=both_MIS ci=resampling;
class trtgroup;
model LOS_hours = trtgroup/ quantile=0.5 ;
estimate 'Diff in Medians' trtgroup 1 -1 / CL;
run;

 

Thanks

 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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