5. The mean length hospital stay for children treated for pneumonia was compared between 2014 and 2004. In 2014 (population 1), 21 children were sampled and in 2004 (population 2) another sample of 21 was taken. Results for many test are shown in the table. Do the data indicate that the mean hospital stay for children has decreased? Test with a significance level of 5%. 2014 2004 Sample mean Sample standard deviation 3.7 4.3 1.5 1.2 Sample size 21 21

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
icon
Concept explainers
Topic Video
Question
5.
2004. In 2014 (population 1), 21 children were sampled and in 2004 (population 2) another sample of 21 was
taken. Results for many test are shown in the table. Do the data indicate that the mean hospital stay for children
has decreased? Test with a significance level of 5%.
The mean length hospital stay for children treated for pneumonia was compared between 2014 and
2014
2004
Sample mean
Sample standard deviation
Sample size
3.7
4.3
1.5
1.2
21
21
Transcribed Image Text:5. 2004. In 2014 (population 1), 21 children were sampled and in 2004 (population 2) another sample of 21 was taken. Results for many test are shown in the table. Do the data indicate that the mean hospital stay for children has decreased? Test with a significance level of 5%. The mean length hospital stay for children treated for pneumonia was compared between 2014 and 2014 2004 Sample mean Sample standard deviation Sample size 3.7 4.3 1.5 1.2 21 21
Expert Solution
Step 1

Given
The data of mean length hospital stay for children for pneumonia in 2004 and 2014 is shown below
20142004Sample mean3.74.3Sample Standard deviation1.51.2Sample size2121

The level of significance is 5% or 0.05.

Let μ1 μ2 be the mean length hospital stay for children in 2014 and 2004.

The null and alternate hypothesis are shown below
H0: μ1= μ2Ha:μ1< μ2

The test statistic is calculated as shown below
t=x1__-x2__s12n1+s22n2t=3.7-4.31.5221+1.2221=-1.43

The degree of freedom is calculated using the below mentioned formula
df=s12n1+s22n22s12n12n1-1+s22n22n2-1=1.5221+1.222121.5221221-1+1.2221221-1=38.16

Thus we use degree of freedom as 38

 

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Centre, Spread, and Shape of a Distribution
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman