Bundle: Basic Practice of Statistics 7e & LaunchPad (Twelve Month Access)
Bundle: Basic Practice of Statistics 7e & LaunchPad (Twelve Month Access)
7th Edition
ISBN: 9781319019341
Author: David S. Moore, William I. Notz, Michael A. Fligner
Publisher: W. H. Freeman
bartleby

Videos

Question
Book Icon
Chapter 25, Problem 25.32E

a.

To determine

To construct: The 95% confidence interval for the proportion of students who have used drugs more than one time in a given month to stay awake.

a.

Expert Solution
Check Mark

Answer to Problem 25.32E

The 95% confidence interval for the proportion of students who have used drugs more than one time in a given month to stay awake is 0.173695 to 0.227894.

Explanation of Solution

Given info:

The data shows the association between the sleep quality classification and the use of over-the-counter (OTC) or prescription (RX) stimulant medication more than once a month to help keep them awake.

Calculation:

Let p^ denote the proportion of students who have used drugs more than one time in a given month to stay awake.

p^=Number of students who have used the drugsTotal number of students=174871=0.1998

Thus, the proportion of students who have used drugs more than one time in a given month to stay awake is 0.1998.

Software procedure:

Step-by-step procedure for constructing 95% confidence interval for the given proportion is shown below:

  • Click on Stat, Basic statistics and 1-proportion.
  • Choose Summarized data, under Number of events enter 174, under Number of trials enter 871.
  • Click on options, choose 95% confidence interval.
  • Click ok.

Output using MINITAB is given below:

Bundle: Basic Practice of Statistics 7e & LaunchPad (Twelve Month Access), Chapter 25, Problem 25.32E , additional homework tip  1

Conclusion:

The 95% confidence interval for the proportion of students who have used drugs more than one time in a given month to stay awake is 0.173695 to 0.227894.

b.

To determine

To find: The conditional distribution for the sleep quality of the students who have used drugs and those who haven’t.

To construct: A graph that compares the two conditional distributions.

To describe: The relationship between the students who have used drugs to stay awake and students who haven’t used drugs to stay awake.

b.

Expert Solution
Check Mark

Answer to Problem 25.32E

The conditional distribution for the sleep quality of the students who have used the drugs and those who haven’t used the drugs is given below:

Sleep Quality Conditional distributionof sleep quality for students who have used drugs Conditional distribution of sleep quality for students who haven’t used drugs
Optimal 12.2 87.8
Borderline 22.2 77.8
Poor 25.5 74.5

Output obtained from MINITAB is given below:

Bundle: Basic Practice of Statistics 7e & LaunchPad (Twelve Month Access), Chapter 25, Problem 25.32E , additional homework tip  2

The students who have consumed drugs have less amount of optimal sleep than students who haven’t consumed drugs. Thus, consuming drugs helps the students to stay awake.

Explanation of Solution

Calculation:

The conditional distribution for the sleep quality of the students who have used the drugs is calculated as follows:

(Conditional distribution ofsleep quality for the students who have used the drugs)=(Number of students under each category ofsleep quality given that drugs have been used)(Total number of  students undereach category of sleep quality)

The conditional distribution for the sleep quality of the students who haven’t used the drugs is calculated as follows:

(Conditional distribution ofsleep quality for the students who haven't used the drugs)=(Number of students under each category ofsleep quality given that drugs haven't been used)(Total number of  students undereach category of sleep quality)

The two conditional distributions are given below:

Sleep Quality Conditional distributionof sleep quality for students who have used drugs Conditional distribution of sleep quality for students who haven’t used drugs
Optimal 37303×100=0.122×100=12.2 266303×100=0.878×100=87.8
Borderline 53239×100=0.222×100=22.2 186239×100=0.778×100=77.8
Poor 84329×100=0.255×100=25.5 245329×100=0.745×100=74.5

Software procedure:

Step-by-step procedure for constructing a bar graph for comparing the two conditional distributions is given below:

  • Click on Graph, select Bar Chart.
  • Under Bar represent: select Values from table.
  • In Two-way table select Cluster and then click ok.
  • In Graph variables, enter the columns of Yes and No.
  • In Row labels, select Sleep quality.
  • Under Table Arrangement, select Rows are outermost categories and columns are innermost.
  • Click ok.

Interpretation:

The bar graph is constructed for the conditional distributions of sleep quality for students who have used drugs and students who haven’t used the drugs.

The bars are separated into three sets; the bars to the leftmost side represent the “Optimal” sleep quality, the bars placed in the middle represent the “Borderline” sleep quality, and the bars placed to the rightmost side represent the “Poor” sleep quality.

Justification:

From the conditional distributions and the bar graph, it can be observed that students who have consumed drugs have less amount of optimal sleep than students who haven’t consumed drugs.

Thus, consuming drugs help the students to stay awake.

c.

To determine

To test: Whether students who use drugs more than one time in a month to stay awake have a difference in sleep quality than the students who don’t use drugs.

To state: The hypotheses used for testing.

To give: The P-value and the conclusion.

c.

Expert Solution
Check Mark

Answer to Problem 25.32E

There is a significant difference in the sleep quality between the students who have used the drugs and the students who don’t use drugs.

The hypotheses used for testing is given below:

H0: There is no relationship between sleep quality and drug usage.

Ha: There is a relationship between sleep quality and drug usage.

The P-value is 0.000.

The drugs help the students to stay awake.

Explanation of Solution

Calculation:

The claim is to test whether there is any significant difference between the sleep quality of the students who have used the drugs and students who haven’t used the drugs.

Cell frequency for using Chi-square test:

  • When at most 20% of the cell frequencies are less than 5
  • If all the individual frequencies are 1 or more than 1.
  • All the expected frequencies must be 5 or greater than 5.

The hypotheses used for testing is given below:

H0: There is no relationship between sleep quality and drug usage.

Ha: There is a relationship between sleep quality and drug usage.

Software procedure:

Step-by-step procedure for calculating the chi-square test statistic is given below:

  • Click on Stat, select Tables and then click on Chi-square Test of Association.
  • Select Summarized data in a two-way table.
  • Under Columns containing the table: enter the columns of Optimal, Borderline and Poor.
  • Under Labels for the table (optional), select Drug Usage in the Rows: box and type Sleep Quality for the Column category name.
  • Under statistics, click on Chi-square test.
  • Click on ok.

Output obtained from MINITAB is given below:

Bundle: Basic Practice of Statistics 7e & LaunchPad (Twelve Month Access), Chapter 25, Problem 25.32E , additional homework tip  3

Thus, the test statistic is 18.504 and the P-value is 0.000.

Since all the expected frequencies are greater than 5,the usage of chi-square test is appropriate.

Conclusion:

The P-value is 0.000 and the level of significance is 0.05.

Here, the P-value is lesser than the level of significance.

Therefore, the null hypothesis is rejected.

Thus, there is strong evidence that there is a relationship between the sleep quality and drug usage.

Hence, students who have used the drugs have a low level of optimal sleep thanthe students who didn’t use the drugs. Thus, drugs help the students to stay awake.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Knowledge Booster
Background pattern image
Statistics
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
Text book image
MATLAB: An Introduction with Applications
Statistics
ISBN:9781119256830
Author:Amos Gilat
Publisher:John Wiley & Sons Inc
Text book image
Probability and Statistics for Engineering and th...
Statistics
ISBN:9781305251809
Author:Jay L. Devore
Publisher:Cengage Learning
Text book image
Statistics for The Behavioral Sciences (MindTap C...
Statistics
ISBN:9781305504912
Author:Frederick J Gravetter, Larry B. Wallnau
Publisher:Cengage Learning
Text book image
Elementary Statistics: Picturing the World (7th E...
Statistics
ISBN:9780134683416
Author:Ron Larson, Betsy Farber
Publisher:PEARSON
Text book image
The Basic Practice of Statistics
Statistics
ISBN:9781319042578
Author:David S. Moore, William I. Notz, Michael A. Fligner
Publisher:W. H. Freeman
Text book image
Introduction to the Practice of Statistics
Statistics
ISBN:9781319013387
Author:David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:W. H. Freeman
Hypothesis Testing using Confidence Interval Approach; Author: BUM2413 Applied Statistics UMP;https://www.youtube.com/watch?v=Hq1l3e9pLyY;License: Standard YouTube License, CC-BY
Hypothesis Testing - Difference of Two Means - Student's -Distribution & Normal Distribution; Author: The Organic Chemistry Tutor;https://www.youtube.com/watch?v=UcZwyzwWU7o;License: Standard Youtube License