a.
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.

Answer to Problem 25.33E
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
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:
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 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.

Answer to Problem 25.33E
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:
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:
The conditional distribution for the sleep quality of the students who haven’t used the drugs is calculated as follows:
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 | ||
Borderline | ||
Poor |
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 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.

Answer to Problem 25.33E
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:
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:
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:
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?
Chapter 25 Solutions
BASIC PRACTICE OF STATISTICS >C<
- This problem is based on the fundamental option pricing formula for the continuous-time model developed in class, namely the value at time 0 of an option with maturity T and payoff F is given by: We consider the two options below: Fo= -rT = e Eq[F]. 1 A. An option with which you must buy a share of stock at expiration T = 1 for strike price K = So. B. An option with which you must buy a share of stock at expiration T = 1 for strike price K given by T K = T St dt. (Note that both options can have negative payoffs.) We use the continuous-time Black- Scholes model to price these options. Assume that the interest rate on the money market is r. (a) Using the fundamental option pricing formula, find the price of option A. (Hint: use the martingale properties developed in the lectures for the stock price process in order to calculate the expectations.) (b) Using the fundamental option pricing formula, find the price of option B. (c) Assuming the interest rate is very small (r ~0), use Taylor…arrow_forwardDiscuss and explain in the picturearrow_forwardBob and Teresa each collect their own samples to test the same hypothesis. Bob’s p-value turns out to be 0.05, and Teresa’s turns out to be 0.01. Why don’t Bob and Teresa get the same p-values? Who has stronger evidence against the null hypothesis: Bob or Teresa?arrow_forward
- Review a classmate's Main Post. 1. State if you agree or disagree with the choices made for additional analysis that can be done beyond the frequency table. 2. Choose a measure of central tendency (mean, median, mode) that you would like to compute with the data beyond the frequency table. Complete either a or b below. a. Explain how that analysis can help you understand the data better. b. If you are currently unable to do that analysis, what do you think you could do to make it possible? If you do not think you can do anything, explain why it is not possible.arrow_forward0|0|0|0 - Consider the time series X₁ and Y₁ = (I – B)² (I – B³)Xt. What transformations were performed on Xt to obtain Yt? seasonal difference of order 2 simple difference of order 5 seasonal difference of order 1 seasonal difference of order 5 simple difference of order 2arrow_forwardCalculate the 90% confidence interval for the population mean difference using the data in the attached image. I need to see where I went wrong.arrow_forward
- Microsoft Excel snapshot for random sampling: Also note the formula used for the last column 02 x✓ fx =INDEX(5852:58551, RANK(C2, $C$2:$C$51)) A B 1 No. States 2 1 ALABAMA Rand No. 0.925957526 3 2 ALASKA 0.372999976 4 3 ARIZONA 0.941323044 5 4 ARKANSAS 0.071266381 Random Sample CALIFORNIA NORTH CAROLINA ARKANSAS WASHINGTON G7 Microsoft Excel snapshot for systematic sampling: xfx INDEX(SD52:50551, F7) A B E F G 1 No. States Rand No. Random Sample population 50 2 1 ALABAMA 0.5296685 NEW HAMPSHIRE sample 10 3 2 ALASKA 0.4493186 OKLAHOMA k 5 4 3 ARIZONA 0.707914 KANSAS 5 4 ARKANSAS 0.4831379 NORTH DAKOTA 6 5 CALIFORNIA 0.7277162 INDIANA Random Sample Sample Name 7 6 COLORADO 0.5865002 MISSISSIPPI 8 7:ONNECTICU 0.7640596 ILLINOIS 9 8 DELAWARE 0.5783029 MISSOURI 525 10 15 INDIANA MARYLAND COLORADOarrow_forwardSuppose the Internal Revenue Service reported that the mean tax refund for the year 2022 was $3401. Assume the standard deviation is $82.5 and that the amounts refunded follow a normal probability distribution. Solve the following three parts? (For the answer to question 14, 15, and 16, start with making a bell curve. Identify on the bell curve where is mean, X, and area(s) to be determined. 1.What percent of the refunds are more than $3,500? 2. What percent of the refunds are more than $3500 but less than $3579? 3. What percent of the refunds are more than $3325 but less than $3579?arrow_forwardA normal distribution has a mean of 50 and a standard deviation of 4. Solve the following three parts? 1. Compute the probability of a value between 44.0 and 55.0. (The question requires finding probability value between 44 and 55. Solve it in 3 steps. In the first step, use the above formula and x = 44, calculate probability value. In the second step repeat the first step with the only difference that x=55. In the third step, subtract the answer of the first part from the answer of the second part.) 2. Compute the probability of a value greater than 55.0. Use the same formula, x=55 and subtract the answer from 1. 3. Compute the probability of a value between 52.0 and 55.0. (The question requires finding probability value between 52 and 55. Solve it in 3 steps. In the first step, use the above formula and x = 52, calculate probability value. In the second step repeat the first step with the only difference that x=55. In the third step, subtract the answer of the first part from the…arrow_forward
- If a uniform distribution is defined over the interval from 6 to 10, then answer the followings: What is the mean of this uniform distribution? Show that the probability of any value between 6 and 10 is equal to 1.0 Find the probability of a value more than 7. Find the probability of a value between 7 and 9. The closing price of Schnur Sporting Goods Inc. common stock is uniformly distributed between $20 and $30 per share. What is the probability that the stock price will be: More than $27? Less than or equal to $24? The April rainfall in Flagstaff, Arizona, follows a uniform distribution between 0.5 and 3.00 inches. What is the mean amount of rainfall for the month? What is the probability of less than an inch of rain for the month? What is the probability of exactly 1.00 inch of rain? What is the probability of more than 1.50 inches of rain for the month? The best way to solve this problem is begin by a step by step creating a chart. Clearly mark the range, identifying the…arrow_forwardClient 1 Weight before diet (pounds) Weight after diet (pounds) 128 120 2 131 123 3 140 141 4 178 170 5 121 118 6 136 136 7 118 121 8 136 127arrow_forwardClient 1 Weight before diet (pounds) Weight after diet (pounds) 128 120 2 131 123 3 140 141 4 178 170 5 121 118 6 136 136 7 118 121 8 136 127 a) Determine the mean change in patient weight from before to after the diet (after – before). What is the 95% confidence interval of this mean difference?arrow_forward
- MATLAB: An Introduction with ApplicationsStatisticsISBN:9781119256830Author:Amos GilatPublisher:John Wiley & Sons IncProbability and Statistics for Engineering and th...StatisticsISBN:9781305251809Author:Jay L. DevorePublisher:Cengage LearningStatistics for The Behavioral Sciences (MindTap C...StatisticsISBN:9781305504912Author:Frederick J Gravetter, Larry B. WallnauPublisher:Cengage Learning
- Elementary Statistics: Picturing the World (7th E...StatisticsISBN:9780134683416Author:Ron Larson, Betsy FarberPublisher:PEARSONThe Basic Practice of StatisticsStatisticsISBN:9781319042578Author:David S. Moore, William I. Notz, Michael A. FlignerPublisher:W. H. FreemanIntroduction to the Practice of StatisticsStatisticsISBN:9781319013387Author:David S. Moore, George P. McCabe, Bruce A. CraigPublisher:W. H. Freeman





