I am running a median regression and a few of my independent variables such as severity of stroke is categorized into 5 categories. When I run proc quantreg, I do not get medians, IQR, number of observations for each separate subgroup(severity of stroke as none/minor/moder....). I would like to report this as there are missing values in my data set due to its retrospective nature, so I need to get information specific to the model. The question I am trying to answer is looking at a measure of stroke severity at discharge and how that depends on admission severity of stroke and other variables like age and so on. I am wondering how to get this data. My current code is below. Btw this is my first time using SAS 9.4. proc quantreg data=filtereddata ci=resampling; class corticalinvolvement sex alcohol age_cat admission_nihss_score; model last_nihss_score = age_cat sex alcohol prophylaxis admission_nihss_score infarctsize corticalinvolvement / quantile = .5; estimate 'Diff in Medians' sex 1 -1 / CL; run; Thank you for any insight!
... View more