Programming the statistical procedures from SAS

Tests for comparing hospital lengths of stay

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 13
Accepted Solution

Tests for comparing hospital lengths of stay

Hello all.

What are the most commonly used statistical tests for comparing the average length of a hospital stay?  Should I be thinking in terms of comparing the medians instead of the averages?  The data I have come from two separate groups of patients undergoing the same procedure.  Thanks in advance. 


Accepted Solutions
Solution
‎01-05-2013 10:52 PM
Respected Advisor
Posts: 4,606

Re: Tests for comparing hospital lengths of stay

Look at NPAR1WAY example :

SAS/STAT(R) 9.3 User's Guide

If you can show a significant location difference with the Wilcoxon test then you needn't look any further.

PG

PG

View solution in original post


All Replies
Contributor
Posts: 62

Re: Tests for comparing hospital lengths of stay

Truncated means and trimmed means are another approach for testing your problem.

Grand Advisor
Posts: 16,880

Re: Tests for comparing hospital lengths of stay

Check the distribution of the data. If normally distributed then use averages, times are rarely normally distributed though, so median tends to be used instead.

Another option is to use log(time) instead, but again you'll need to verify the distribution of the data.

Contributor
Posts: 62

Re: Tests for comparing hospital lengths of stay

You can compare it with logistic regression ( for example if a patient stay more than 7 days  1 else 0) for each hospital.

(check proc logistic and proc genmod in SAS)

Solution
‎01-05-2013 10:52 PM
Respected Advisor
Posts: 4,606

Re: Tests for comparing hospital lengths of stay

Look at NPAR1WAY example :

SAS/STAT(R) 9.3 User's Guide

If you can show a significant location difference with the Wilcoxon test then you needn't look any further.

PG

PG
Regular Contributor
Posts: 152

Re: Tests for comparing hospital lengths of stay

You might also look at the differences in the distributions of the length of stay for the two groups of patients using PROC LIFEREG (multiple parametric distributions) or PROC LIFETEST (nonparametric distributions).

Occasional Contributor
Posts: 13

Re: Tests for comparing hospital lengths of stay

Thanks for all the suggestions.   I did the analysis using NPAR1WAY and did find significance with the Wilcoxon test.  The LIFETEST and LOGISTIC approaches seem interesting as well, but I am not sure I will have the time to pursue this analysis further. 

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 6 replies
  • 1236 views
  • 9 likes
  • 5 in conversation