B AND C ONLY
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
B AND C ONLY

Transcribed Image Text:### Do the Poor Spend the Same Amount of Time in the Shower as the Rich?
A survey was conducted to determine if there is a difference in the amount of time that poor and rich people spend in the shower. The results are as follows:
#### Poor (minutes spent in the shower):
9, 37, 37, 26, 30, 17, 21, 13, 26, 33, 30
#### Rich (minutes spent in the shower):
42, 23, 19, 55, 24, 18, 38, 47, 27, 48, 19, 49
### Statistical Analysis
Assume both sets of data follow a normal distribution. We will use a two-sample t-test to determine if there is a significant difference in the mean shower time between the two groups at the α = 0.01 level of significance.
For this study, we should use a **t-test for the difference between two independent population means**.
#### Hypotheses
1. **Null Hypothesis (H₀):**
\( \mu_1 = \mu_2 \)
(The mean shower time for poor people is equal to the mean shower time for rich people.)
2. **Alternative Hypothesis (H₁):**
\( \mu_1 \neq \mu_2 \)
(The mean shower time for poor people is not equal to the mean shower time for rich people.)
#### Test Statistic
\( t = \) (Please show your answer to 3 decimal places.)
#### P-value
The p-value is used to determine the significance of the results.
\( p \text{ value} = \) (Please show your answer to 3 decimal places.)
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps

Recommended textbooks for you

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

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
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

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
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON

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
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman