04-30-2015 03:47 PM
My project involves finding the difference in total length of stay in days (continuous variable) in hospital among 5 groups of patients divided based on their body temperature (Categorical variable with 5 categories). Total length of stay is not normally distributed. One option is for me to do non-parametric Wilcox Mann-Whitney test. But this will not allow me to adjust for a=other potential confounders. Is there any other procedure which will allow me to find a median difference in total length of stay between those 5 groups after adjusting for potential confounders.
I would appreciate any help I can get on this. Thanks.
05-01-2015 10:03 AM
First, the dependent variable does not need to be normally distributed. The errors from the model (as estimated by the residuals) need to be normally distributed. However, from your description, it is likely that the residuals are also non-normal. Second, your outcome variable is not nominal, it is continuous (length of stay)
If that is the case, then there are several options.
1) You could try transforming the DV or the IVs.
2) You could use robust statistics.
Just a couple days ago I presented a paper at SGF entitled "Alternative methods of regression when OLS is not right".
05-01-2015 11:07 AM
In addition to Peter's methods, you may want to consider this to be a Cox proportional hazards regression, with time to exit from hospital as a left-truncated/right censored variable, and fit it as in Example 73.3 Modeling with Categorical Predictors in the SAS/STAT13.2 documentation for PROC PHREG.
07-02-2015 03:26 PM
Thank you for your response. I went through your article and carried out quantile regression. My dependent variable is continuous and measured as total length of stay in hospital in days. Independent variable is body temperature divided into five categorical groups. The image of the table is above.
I am little confused about how to interpret the result. The 95% CI for the parameter estimates is not significant for the ed_tempc group 4, but p value is
<0.0001. How do I interpret this?
I chose the quantile as median.
Also, looking at the result, can I say that: As compared to group 5 of ed_tempc (which is a reference group), the median length of stay for
group 1 is 3 days more (95% CI 2.03-3.96). Am I interpreting it right???