Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1.Suppose we want to compare the length of hospital stay for patients with the same diagnosis at two different hospitals. The results are shown below.

1.Suppose we want to compare the length of hospital stay for patients with the same diagnosis at two different hospitals. The results are shown below.

First hospital: 21, 10, 32, 60, 8, 44, 29, 5, 13, 26, 33

Second hospital: 86, 27, 10, 68, 87, 76, 125, 60, 35, 73, 96, 44, 238

a.Use Stata to carry out a nonparametric procedure for testing the hypothesis that lengths of stay are comparable in the two hospitals. Need to provide both Stata code and output.

stata code on the homework answer was ranksum LOS, by (hospital)

However, how do I set up the data in STATA?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Mathematical Methods In Electromagnetism

Authors: Cessenat Michel

1st Edition

9810224672, 9789810224677

More Books

Students also viewed these Mathematics questions

Question

Discuss the techniques of sales forecasting.

Answered: 1 week ago

Question

Write short notes on Marketing mix.

Answered: 1 week ago