(a) Conduct a test of independence to determine whether hours of sleep are independent of age. State the null and alternative hypotheses. O Hg: Hours of sleep per night is not independent of age. H: Hours of sleep per night is independent of age. O Ho: The proportion of people who get 8 or more hours of sleep per night is not equal across the two age groups. H: The proportion of people who get 8 or more hours of sleep per night is equal across the two age groups. Ho: Hours of sleep per night is mutually exclusive from age. H: Hours of sleep per night is not mutually exclusive from age. Hoi Hours of sleep per night is independent of age. H: Hours of sleep per night is not independent of age. Find the value of the test statistic. (Round your answer to three decimal places.) What is the p-value? (Round your answer to four decimal places.) p-value = Using a 0.05 level of significance, what is your conclusion? O Reject Hg. We conclude that hours of sleep per night and age are not independent. O Reject Hg. We conclude that hours of sleep per night and age are independent. O Do not reject Hg. We cannot conclude that hours of sleep per night and age are not independent. O Do not reject H.. We cannot conclude that hours of sleep per nioht and age are independent.
(a) Conduct a test of independence to determine whether hours of sleep are independent of age. State the null and alternative hypotheses. O Hg: Hours of sleep per night is not independent of age. H: Hours of sleep per night is independent of age. O Ho: The proportion of people who get 8 or more hours of sleep per night is not equal across the two age groups. H: The proportion of people who get 8 or more hours of sleep per night is equal across the two age groups. Ho: Hours of sleep per night is mutually exclusive from age. H: Hours of sleep per night is not mutually exclusive from age. Hoi Hours of sleep per night is independent of age. H: Hours of sleep per night is not independent of age. Find the value of the test statistic. (Round your answer to three decimal places.) What is the p-value? (Round your answer to four decimal places.) p-value = Using a 0.05 level of significance, what is your conclusion? O Reject Hg. We conclude that hours of sleep per night and age are not independent. O Reject Hg. We conclude that hours of sleep per night and age are independent. O Do not reject Hg. We cannot conclude that hours of sleep per night and age are not independent. O Do not reject H.. We cannot conclude that hours of sleep per nioht and age are independent.
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

Transcribed Image Text:A survey was conducted to determine whether hours of sleep per night are independent of age. A sample of individuals was asked to indicate the number of hours of sleep per night with categorical options: fewer than 6 hours, 6 to 6.9 hours, 7 to 7.9 hours, and 8 hours or
more. Later in the survey, the individuals were asked to indicate their age with categorical options: age 39 or younger and age 40 or older. Sample data follow.
Age Group
Hours of Sleep
39 or younger
40 or older
Fewer than 6
36
34
6 to 6.9
60
57
7 to 7.9
77
75
8 or more
67
94
(a) Conduct a test of independence to determine whether hours of sleep are independent of age.
State the null and alternative hypotheses.
O Ho: Hours of sleep per night is not independent of age.
H: Hours of sleep per night is independent of age.
O H,: The proportion of people who get 8 or more hours of sleep per night is not equal across the two age groups.
H: The proportion of people who get 8 or more hours of sleep per night is equal across the two age groups.
O Ho: Hours of sleep per night is mutually exclusive from age.
H: Hours of sleep per night is not mutually exclusive from age.
O Ho: Hours of sleep per night is independent of age.
H: Hours of sleep per night is not independent of age.
Find the value of the test statistic. (Round your answer to three decimal places.)
What is the p-value? (Round your answer to four decimal places.)
p-value =
Using a 0.05 level of significance, what is your conclusion?
O Reject Ho: We conclude that hours of sleep per night and age are not independent.
O Reject H,. We conclude that hours of sleep per night and age are independent.
O Do not reject H. We cannot conclude that hours of sleep per night and age are not independent.
O Do not reject H,. We cannot conclude that hours of sleep per night and age are independent.

Transcribed Image Text:O Do not reject H.. We cannot conclude that hours of sleep per night and age are independent.
(b) What is your estimate of the percentages of individuals who sleep fewer than 6 hours, 6 to 6.9 hours, 7 to 7.9 hours, and 8 hours or more per night?
Fewer than 6
%
6 to 6.9
%
7 to 7.9
%
8 or more
%
Expert Solution

Working
Observed | Expected | (O-E)^2 | (O-E)^2/E |
36 | 33.6 | 5.76 | 0.171429 |
60 | 56.16 | 14.7456 | 0.262564 |
77 | 72.96 | 16.3216 | 0.223706 |
67 | 77.28 | 105.6784 | 1.367474 |
34 | 36.4 | 5.76 | 0.158242 |
57 | 60.84 | 14.7456 | 0.242367 |
75 | 79.04 | 16.3216 | 0.206498 |
94 | 83.72 | 105.6784 | 1.262284 |
Step by step
Solved in 2 steps with 2 images

Knowledge Booster
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.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