Question: Help with this matlab problem please!! Using hospital.xls do the following in matlab: 1. divide the patients according to whether or not they received antibiotics.

Help with this matlab problem please!!

Help with this matlab problem please!! Using hospital.xls do the following in

Using hospital.xls do the following in matlab:

1. divide the patients according to whether or not they received antibiotics. Calculate the mean and standard deviation for each of the two subsamples and report the results in a table.

2. Create histograms and boxplots for the two populations.

3. The boxplot shows an outlier in the data. Remove this outlier and compare the mean/standard deviations for the two populations in a table. Discuss the differences with and without the outlier included.

Age 30 73 40 47 25 82 60 56 NNNNNX WBC 8 5 12 4 11 11 14 2 1 1 2 NN 6 8 7 7 12 7 7 3 50 1 59 Id Dur_stay 1 5 2 10 3 6 4 5 5 6 7 30 8 11 9 17 10 3 11 9 12 3 13 8 14 8 15 5 5 7 18 4 19 3 20 7 21 22 11 23 11 24 25 Temp 99 98 99 98.2 98.5 96.8 99.5 98.6 98 98 97.6 97.8 99.5 98.4 98.4 99 99.2 98 97 98.2 98.2 98.6 97.6 98.6 98 NN Antibio Bact_cul 2 2 2 1 2 2 2 2 2 2 1 2 1 1 2 2 2 2 2 1 2 1 2 2 1 2 1 1 2 1 2 2 1 2 2 2 1 2 2 2 2 2 1 2 2 2 2 2 2 2 Service 1 1 2 2 2 2 1 1 1 2 1 2 2 2 2 2 2 2 1 2 2 2 1 2 1 22 11 2 2 2 2 1 14 11 33 20 32 36 16 17 69 1 47 22 11 19 67 43 41 6 6 6 5 6 10 14 1 2 2 2 u un Age 30 73 40 47 25 82 60 56 NNNNNX WBC 8 5 12 4 11 11 14 2 1 1 2 NN 6 8 7 7 12 7 7 3 50 1 59 Id Dur_stay 1 5 2 10 3 6 4 5 5 6 7 30 8 11 9 17 10 3 11 9 12 3 13 8 14 8 15 5 5 7 18 4 19 3 20 7 21 22 11 23 11 24 25 Temp 99 98 99 98.2 98.5 96.8 99.5 98.6 98 98 97.6 97.8 99.5 98.4 98.4 99 99.2 98 97 98.2 98.2 98.6 97.6 98.6 98 NN Antibio Bact_cul 2 2 2 1 2 2 2 2 2 2 1 2 1 1 2 2 2 2 2 1 2 1 2 2 1 2 1 1 2 1 2 2 1 2 2 2 1 2 2 2 2 2 1 2 2 2 2 2 2 2 Service 1 1 2 2 2 2 1 1 1 2 1 2 2 2 2 2 2 2 1 2 2 2 1 2 1 22 11 2 2 2 2 1 14 11 33 20 32 36 16 17 69 1 47 22 11 19 67 43 41 6 6 6 5 6 10 14 1 2 2 2 u un

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!