Hypothesis Tests



Samuel Dominic Chukwuemeka (SamDom For Peace) Answer all questions.
Show all work.
Unless stated otherwise and as applicable:
(1.) Assume that all conditions/requirements for conducting the hypothesis test are met.
(2.) Use at least two methods to solve each question.
(3.) Round the test statistic to two decimal places.
(4.) Round the P-value to four decimal places.
(5.) Verify your answers with a statistical software (TI-series calculators, Statcrunch, RStudio).

The names of the towns (in italics) are written to make you smile.
Yes, those towns exist. 😊
I want to make this topic fun in any way I can.
(1.) Number 1

Assume the curve is used for a two-tailed hypothesis test.
The p-value is 0.0888

(a.) If the two-tailed test was conducted at a 5% significance level, would you reject the null hypothesis OR fail to reject the null hypothesis?

(b.) If the two-tailed test was conducted at a 10% level of significance, would you reject the null hypothesis OR fail to reject the null hypothesis?

(c.) If we decided to do a right-tailed test instead at a 5% significance level, would you reject the null hypothesis OR fail to reject the null hypothesis?


$ (a.) \\[3ex] Two-tailed\:\:Hypothesis\:\:Test \\[3ex] p-value = 0.0888 \\[3ex] \alpha = 5\% = \dfrac{5}{100} = 0.05 \\[5ex] 0.0888 \gt 0.05 \\[3ex] p-value \gt \alpha \\[3ex] $ Decision: Fail to reject the null hypothesis

$ (b.) \\[3ex] Two-tailed\:\:Hypothesis\:\:Test \\[3ex] p-value = 0.0888 \\[3ex] \alpha = 10\% = \dfrac{10}{100} = 0.1 \\[5ex] 0.0888 \le 0.1 \\[3ex] p-value \le \alpha \\[3ex] $ Decision: Reject the null hypothesis

$ (c.) \\[3ex] One-tail\:(Right-tailed)\:\:Hypothesis\:\:Test \\[3ex] p-value = 0.0888 \\[3ex] \alpha = 5\% = \dfrac{5}{100} = 0.05 \\[5ex] 0.0888 \gt 0.05 \\[3ex] p-value \gt \alpha \\[3ex] $ Decision: Fail to reject the null hypothesis
(2.) Claim: Fewer than 97​% of adults have a cell phone.
In a reputable poll of 1217 ​adults, 89​% said that they have a cell phone.
Find the value of the test statistic.
(Round to two decimal places as​ needed.)


One-Sample Proportion

$ H_0:\;\; p = 97\% = 0.97 \\[3ex] q = 1 - p = 1 - 0.97 = 0.03 \\[5ex] n = 1217 \\[3ex] \hat{p} = 89\% = 0.89 \\[3ex] z = \dfrac{\hat{p} - p}{\sqrt{\dfrac{pq}{n}}} \\[9ex] z = \dfrac{0.89 - 0.97}{\sqrt{\dfrac{0.97(0.03)}{1217}}} \\[9ex] z = -16.36020652 \\[3ex] z \approx -16.36 $
(3.) According to a reputable​ magazine, the dropout rate for all college students with loans is 30​%.
Suppose that 64 out of 200 random college students with loans drop out.
The graphical technology output for this situation is:

Number 3

(a.) Give the null and alternative hypotheses to test that the dropout rate is not 30​%
(b.) What is the test statistic? (Round to four decimal places as needed).
(c.) What is the probability value? (Round to four decimal places as needed).


One-Sample Proportion

p = 30% = 0.3
(a.) The null and alternative hypotheses are:

$ H_0:\;\; p = 0.3 \\[3ex] H_1:\;\; p \ne 0.3 \\[3ex] $ (b.) The test statistic, z = 0.6172
(c.) The probability value, p = 0.5371
(4.) ​Claim: The mean systolic blood pressure of all healthy adults is less than than 124mmHg.
Sample​ data: For 279 healthy​ adults, the mean systolic blood pressure level is 123.93mmHg and the standard deviation is 15.71mmHg.
The null and alternative hypotheses are H0​: μ = 124 and H1​: μ < 124.
Find the value of the test statistic.
(Round to two decimal places as​ needed.)


One-Sample Mean

$ H_0:\;\; \mu = 124\;mmHg \\[3ex] n = 279 \\[3ex] \bar{x} = 123.93\;mmHg \\[3ex] s = 15.71\;mmHg \\[3ex] t = \dfrac{\bar{x} - \mu}{\dfrac{s}{\sqrt{n}}} \\[9ex] t = \dfrac{123.93 - 124}{\dfrac{15.71}{\sqrt{279}}} \\[9ex] t = -0.0744258763 \\[3ex] t \approx -0.07 $
(5.) According to a reputable​ magazine, 32​% of all cars sold in a certain country are SUVs.
Suppose a random sample of 500 recently sold cars shows that 140 are SUVs.
The graphical technology output for this situation is:

Number 5

(a.) Give the null and alternative hypotheses to test that fewer than 32​% of cars sold are SUVs
(b.) What is the test statistic? (Round to four decimal places as needed).
(c.) What is the probability value? (Round to four decimal places as needed).


One-Sample Proportion

p = 32% = 0.32
(a.) The null and alternative hypotheses are:

$ H_0:\;\; p = 0.32 \\[3ex] H_1:\;\; p \lt 0.32 \\[3ex] $ (b.) The test statistic, z = -1.9174
(c.) The probability value, p = 0.0276
(6.) Claim: The standard deviation of pulse rates of adult males is less than 10 bpm.
For a random sample of 174 adult​ males, the pulse rates have a standard deviation of 8.6 bpm.
Find the value of the test statistic.
(Round to two decimal places as​ needed.)


One-Sample Standard Deviation

$ H_0:\;\; \sigma = 10\;bpm \\[3ex] H_1:\;\; \sigma \lt 10\;bpm \\[5ex] n = 174 \\[3ex] s = 8.6bpm \\[3ex] \chi^2 = \dfrac{s^2(n - 1)}{\sigma^2} \\[5ex] \chi^2 = \dfrac{8.6^2(174 - 1)}{10^2} \\[5ex] \chi^2 = 127.9508 \\[3ex] \chi^2 \approx 127.95 $
(7.) A college chemistry instructor thinks the use of embedded tutors will improve the success rate in introductory chemistry courses.
The passing rate for introductory chemistry is 57​%.
During one​ semester, 200 students were enrolled in introductory chemistry courses with an embedded tutor.
Of these 200 ​students, 115 passed the course.

(a.) What is p̂​, the sample proportion of students who passed introductory​ chemistry?

(b.) What is p0​, the proportion of students who pass introductory chemistry if the null hypothesis is​ true?

(c.) Find the value of the test statistic.
Explain the test statistic in context.
Round to two decimal places as​ needed.


One-Sample Proportion

$ H_0:\;\; p = 0.57 \\[3ex] H_1:\;\; p \gt 0.57 \\[5ex] (a.) \\[3ex] x = 115 \\[3ex] n = 200 \\[3ex] \hat{p} = \dfrac{x}{n} = \dfrac{115}{200} = 0.575 \\[5ex] (b.) \\[3ex] p_0 = 0.57 \\[3ex] (c.) \\[3ex] p = p_0 = 0.57 \\[3ex] q = 1 - p \\[3ex] q = 1 - 0.57 \\[3ex] q = 0.43 \\[3ex] z = \dfrac{\hat{p} - p}{\sqrt{\dfrac{pq}{n}}} \\[9ex] z = \dfrac{0.575 - 0.57}{\sqrt{\dfrac{0.57 * 0.43}{200}}} \\[9ex] z = 0.1428279973 \\[3ex] z \approx 0.14 \\[3ex] $ Number 7-1

Number 7-2

The value of the test statistic tells that the observed proportion of students who passed introductory chemistry was 0.14 standard errors above the null hypothesis proportion of students.
(8.) Suppose a researcher is testing someone to see if he or she can tell Soda X from Soda​ Y, and the researcher is using 22 ​trials, half with Soda X and half with Soda Y.
The null hypothesis is that the person is guessing.
The alternative is​ one-sided, Ha​: p > 5.
The person gets 14 right out of 22.
The​ p-value comes out to be 0.100.
Explain the meaning of the​ p-value.


0.1% = 10%
The​ p-value is the probability that if the null hypothesis is​ true (the person is guessing), a test statistic (p) will have a value as extreme as or more extreme than the observed value (gets 14 or more right).
So, the correct option is: D.: The probability that a person will get 14 or more​ right, if the person is truly​ guessing, is about 10​%.
(9.) A local news agency in Pee Pee Township, Ohio (do they have to pee all the time!?) reports that forty seven percent of the adult population regularly uses supplemental vitamins.
A manager at a local grocery store believes that number is significantly different and collects data from one hundred and seventy randomly selected adults from the city to test the claim.
The table summarizes the data.

Adults Surveyed
Regularly takes supplemental vitamins 91
Does not regularly take supplemental vitamins 79
Total 170

(a.) Test the hypothesis using the Critical Value Method
(b.) State the decision.
(c.) Test the hypothesis using the P-value Approach
(d.) State the decision.
(e.) State the conclusion.
Use a 5% level of significance.
(f.) Determine a significance level that will change the conclusion.


One-Sample Proportion
We are only interested in the number of adults who regularly use supplemental vitamins

$ H_0:\:\: p = 0.47 \\[3ex] H_1:\:\: p \ne 0.47 \\[3ex] x = 91 \\[3ex] n = 170 \\[3ex] \hat{p} = \dfrac{x}{n} \\[5ex] \hat{p} = \dfrac{91}{170} \\[5ex] \hat{p} = 0.5352941176 \\[3ex] p = 0.47 \\[3ex] q = 1 - p \\[3ex] q = 1 - 0.47 \\[3ex] q = 0.53 \\[3ex] z = \dfrac{\hat{p} - p}{\sqrt{\dfrac{pq}{n}}} \\[9ex] z = \dfrac{0.5352941176 - 0.47}{\sqrt{\dfrac{0.47 * 0.53}{170}}} \\[9ex] z = \dfrac{0.06529411765}{\sqrt{0.001465294118}} \\[5ex] z = \dfrac{0.06529411765}{0.03827916036} \\[5ex] z = 1.705735367 \\[3ex] \alpha = 5\% = \dfrac{5}{100} = 0.05 \\[5ex] \dfrac{\alpha}{2} = \dfrac{0.05}{2} = 0.025 \\[5ex] \underline{Classical\:\:Approach} \\[3ex] -z_{\dfrac{\alpha}{2}} = -1.9599639861189817 \\[5ex] z_{\dfrac{\alpha}{2}} = 1.9599639861189817 \\[5ex] -z_{\dfrac{\alpha}{2}} \lt z \lt z_{\dfrac{\alpha}{2}} \\[5ex] -1.96 \lt 1.71 \lt 1.96 \\[3ex] $ It does not fall in the critical region
Decision: Do not reject the null hypothesis

$ \underline{P-value\:\:Approach} \\[3ex] P(z) = P(z \lt -1.705735367) + P(z \gt 1.705735367) \\[3ex] P(z) = 0.04402868083136646 + 0.04402868083136646 \\[3ex] P(z) = 0.08805736166 \\[3ex] P(z) \gt \alpha \\[3ex] 0.0881 \gt 0.05 \\[3ex] $ Decision: Do not reject the null hypothesis

Conclusion: There is insufficient evidence to warrant the rejection of the claim that forty seven percent of the adult population regularly uses supplemental vitamins.

(f.)
To change the conclusion, there should be sufficient evidence to warrant the rejection of the claim that forty seven percent of the adult population regularly uses supplemental vitamins.
This means that there should sufficient evidence to warrant the rejection of the null hypothesis.
This means that we have to change the decision as well (the decision led to the conclusion)
This means that we have to reject the null hypothesis
The easiest way to do this is to use the P-value Approach
For Two-tailed tests, we reject the null hypothesis if $P-value \le \alpha$
This means that we have to find a significance level that is greater than or equal to $P(z)$
$P(z) = 0.08805736166$
The common significance level that is greater than $0.08805736166$ is $0.1$
$0.1 = 10\%$
Therefore, the significance level that will change the conclusion is $10\%$

Let us verify with the calculator.

Student: Are you saying that if we test the hypothesis using a $1\%$ level of significance, the conclusion will be the same?
Teacher: That is correct.
Of the three most common significant levels, only the 10% level of significance will give a different conclusion.
(10.) A college in the City of Los Baños, California (how frequently do they use the restrooms?) wants to increase its retention rate (the number of new students who begin one year and return the next year) by forty five percent (45%).
After implementing several new programs to improve retention over a two-year period, the college randomly sampled three hundred and sixty students (360) who started one year and found that one hundred and ninety-four of them (194) returned the next year.
The college wants to determine if the initiative is working to increase retention.

(a.) Test the hypothesis using the Classical Approach
(b.) State the decision.
(c.) Test the hypothesis using the P-value Approach
(d.) State the decision.
(e.) State the conclusion.
Use a 5% level of significance.


One-Sample Proportion

$ H_0:\:\: p = 0.45 \\[3ex] H_1:\:\: p \gt 0.45 \\[3ex] x = 194 \\[3ex] n = 360 \\[3ex] \hat{p} = \dfrac{x}{n} \\[5ex] \hat{p} = \dfrac{194}{360} \\[5ex] \hat{p} = 0.5388888889 \\[3ex] p = 0.45 \\[3ex] q = 1 - p \\[3ex] q = 1 - 0.45 \\[3ex] q = 0.55 \\[3ex] z = \dfrac{\hat{p} - p}{\sqrt{\dfrac{pq}{n}}} \\[9ex] z = \dfrac{0.5388888889 - 0.45}{\sqrt{\dfrac{0.45 * 0.55}{360}}} \\[9ex] z = \dfrac{0.08888888889}{\sqrt{0.0006875}} \\[5ex] z = \dfrac{0.08888888889}{0.0262202212} \\[5ex] z = 3.390089206 \\[3ex] \alpha = 5\% = \dfrac{5}{100} = 0.05 \\[5ex] \dfrac{\alpha}{2} = \dfrac{0.05}{2} = 0.025 \\[5ex] \underline{Classical\:\:Approach} \\[3ex] z_{\dfrac{\alpha}{2}} = 1.9599639861189817 \\[5ex] z \gt z_{\dfrac{\alpha}{2}} \\[5ex] 3.39 \gt 1.96 \\[3ex] $ It falls in the critical region
Decision: Reject the null hypothesis

$ \underline{P-value\:\:Approach} \\[3ex] P(z \gt 3.390089206) = 0.000349349418287237 \\[3ex] P(z \gt 3.390089206) \le \alpha \\[3ex] 0.0003 \le 0.05 \\[3ex] $ Decision: Reject the null hypothesis

Conclusion: There is sufficient evidence to support the claim that the initiative is working to increase retention.
(11.) Suppose an experiment is done with criminals released from prison in a certain state where the recidivism rate is 34​%; that​ is, 34​% of criminals return to prison within three years.
One hundred random prisoners are made to attend a​ "boot camp" for two weeks before their​ release, and it is hoped that​ "boot camp" will have a good effect.
Suppose 39 of those prisoners return to prison within three years.
The null hypothesis is that those attending boot camp have a recidivism rate of 34​%, p = 0.34.

(a.) What is p̂​, the sample proportion of​ successes?
(It is somewhat odd to call returning to prison a​ success.)

(b.) What is p0​, the hypothetical proportion of success under the null​ hypothesis?

(c.) What is the value of the test​ statistic? Explain in context.
(Round to two decimal places as​ needed.)


One-Sample Proportion

$ (a.) \\[3ex] x = 39 \\[3ex] n = 100 \\[3ex] \hat{p} = \dfrac{x}{n} = \dfrac{39}{100} = 0.39 \\[5ex] (b.) \\[3ex] p_0 = 0.34 \\[3ex] (c.) \\[3ex] p_0 = p = 0.34 \\[3ex] q = 1 - p = 1 - 0.34 = 0.66 \\[3ex] z = \dfrac{\hat{p} - p}{\sqrt{\dfrac{pq}{n}}} \\[9ex] z = \dfrac{0.39 - 0.34}{\sqrt{\dfrac{0.34 * 0.66}{100}}} \\[9ex] z = 1.055500827 \\[3ex] z \approx 1.06 \\[3ex] $ The value of the test statistic tells that the observed proportion of prisoners was 1.06 standard errors above the null hypothesis proportion of prisoners.
(12.) A college chemistry instructor thinks the use of embedded tutors will improve the success rate in introductory chemistry courses.
The passing rate for introductory chemistry is 72​%.
During one​ semester, 200 students were enrolled in introductory chemistry courses with an embedded tutor.
Of these 200 ​students, 159 passed the course.
The instructor carried out a hypothesis test and found that the observed value of the test statistic was 2.36.
The​ p-value associated with this test statistic is 0.0091.
(a.) State the hypotheses that were used for the test.
(b.) Explain the meaning of the​ p-value in this context.
(c.) Based on this​ result, should the instructor believe the success rate has​ improved?


(a.) 72% = 0.72
Null hypotheses: The passing rate for introductory chemistry is 72​%.
Alternative hypotheses: A college chemistry instructor thinks the use of embedded tutors will improve the success rate in introductory chemistry courses.

$ H_0:\;\; p = 0.72 \\[3ex] H_1:\;\; p \gt 0.72 \\[3ex] $ (b.) The p-value is the probability (0.0091) that if the null hypothesis is​ true (the passing rate for introductory chemistry is 72​%), a test statistic (z = 2.36) will have a value as extreme as or more extreme than the observed value (will greatly improve the success rate in introductory chemistry courses).
In the context of the question, this implies that:
The probability of 159 or more introductory chemistry students passing out of a random sample of 200 students is 0.0091​, assuming the population proportion is 0.72.

(c.) In this​ situation, the p-value is ​small (less than the significance level: 0.05), so reject the null hypotheses.
The instructor should believe the success rate has improved.
(13.) A researcher made a claim that the proportion of urban families who regularly eat lunch together is statistically lower than the proportion of rural families.
The table displays the summary of her data collection survey.
$x_1$ is the number of urban families who regularly eat lunch.
$n_1$ is the total number of urban families.
$x_2$ is the number of rural families who regularly eat lunch.
$n_2$ is the total number of rural families.

Urban Families Surveyed Rural Families Surveyed
$x_1$ = 12 $x_2$ = 40
$n_1$ = 75 $n_2$ = 140

(a.) Calculate the sample proportions.
Do the initial (untested) findings show what the researcher expected?
(b.) Test the hypothesis using the Classical Approach
(c.) State the decision.
(d.) Test the hypothesis using the P-value Approach
(e.) State the decision.
(f.) State the conclusion.
Use a 5% level of significance.
(g.) Use the Standard Normal Curve below to mark the location of the test statistic and shade the area that corresponds to the P-value.

Number 13


Two-Samples Proportion

$\hat{p_1}$ is the first sample proportion (proportion of urban families who regularly eat lunch together)
$\hat{q_1}$ is the complement of the first sample proportion
$\hat{p_2}$ is the second sample proportion (proportion of rural families who regularly eat lunch together)
$\hat{q_2}$ is the complement of the second sample proportion
$\overline{p}$ is the pooled sample proportion
$\overline{q}$ is the complement of the pooled sample proportion

$ H_0:\:\: p_1 = p_2 \:\:OR\:\: p_1 - p_2 = 0 \\[3ex] H_1:\:\: p_1 \lt p_2 \\[3ex] \hat{p_1} = \dfrac{x_1}{n_1} \\[5ex] \hat{p_1} = \dfrac{12}{75} \\[5ex] \hat{p_1} = 0.16 \\[3ex] \hat{p_2} = \dfrac{x_2}{n_2} \\[5ex] \hat{p_2} = \dfrac{40}{140} \\[5ex] \hat{p_2} = 0.2857142857 \\[3ex] 0.16 \lt 0.2857142857 \\[3ex] $ Yes, these sample proportions show what the researcher expected.
The sample proportion of urban families who regularly eat lunch together is lower than the sample proportion of rural families who regularly eat lunch together because $0.16 \lt 0.2857142857$

$ \overline{p} = \dfrac{x_1 + x_2}{n_1 + n_2} \\[5ex] \overline{p} = \dfrac{12 + 40}{75 + 140} \\[5ex] \overline{p} = \dfrac{52}{215} \\[5ex] \overline{p} = 0.2418604651 \\[3ex] \overline{q} = 1 - 0.2418604651 \\[3ex] \overline{q} = 0.7581395349 \\[3ex] z = \dfrac{(\hat{p_1} - \hat{p_2}) - (p_1 - p_2)}{\sqrt{\dfrac{\overline{p} * \overline{q}}{n_1} + \dfrac{\overline{p} * \overline{q}}{n_2}}} \\[10ex] z = \dfrac{(0.16 - 0.2857142857) - 0}{\sqrt{\dfrac{0.2418604651 * 0.7581395349}{75} + \dfrac{0.2418604651 * 0.7581395349}{140}}} \\[10ex] z = \dfrac{-0.1257142857}{\sqrt{\dfrac{0.1833639805}{75} + \dfrac{0.1833639805}{140}}} \\[10ex] z = \dfrac{-0.1257142857}{\sqrt{0.002444853074 + 0.001309742718}} \\[7ex] z = \dfrac{-0.1257142857}{\sqrt{0.003754595792}} \\[7ex] z = \dfrac{-0.1257142857}{0.06127475656} \\[7ex] z = -2.05164888 \\[3ex] \alpha = 5\% = \dfrac{5}{100} = 0.05 \\[5ex] \dfrac{\alpha}{2} = \dfrac{0.05}{2} = 0.025 \\[5ex] \underline{Classical\:\:Approach} \\[3ex] -z_{\dfrac{\alpha}{2}} = -1.9599639861189817 \\[5ex] z \lt -z_{\dfrac{\alpha}{2}} \\[5ex] -2.05164888 \lt -1.9599639861189817 \\[3ex] $ It falls in the critical region
Decision: Reject the null hypothesis

$ \underline{P-value\:\:Approach} \\[3ex] P(z) = P(z \lt -2.05164888) P(z \lt -2.05164888) = 0.020101899077793972 \\[3ex] P(z \lt -2.05164888) \le \alpha \\[3ex] 0.020101899077793972 \le 0.05 \\[3ex] $ Decision: Reject the null hypothesis

Conclusion: There is sufficient evidence to support the claim that the sample proportion of urban families who regularly eat lunch together is lower than the sample proportion of rural families who regularly eat lunch together.

(g.)

$ Test\:\:statistic:\:\: z = -2.05164888 \approx -2.05 \\[3ex] P-value:\:\: P(z) = 0.020101899077793972 \approx 2\% $
(14.) Suppose a researcher is testing someone to see whether she or he can tell Soda X from Soda​ Y, and the researcher is using 30 ​trials, half with Soda X and half with Soda Y.
The null hypothesis is that the person is guessing.

(a.) About how many should the researcher expect the person to get right under the null hypothesis that the person is​ guessing?

(b.) Suppose person A gets 21 right out of 30​, and person B gets 19 right out of 30.
Which will have a smaller p-value, and​ why?


(a.) If the population proportion, p is not given, then assume p = 50% = 0.5
50% of 30 trials = 0.5(30) = 15
The person should get 15 trials right.

$ (b.) \\[3ex] \underline{Person\;A} \\[3ex] x = 21 \\[3ex] n = 30 \\[3ex] \hat{p} = \dfrac{x}{n} = \dfrac{21}{30} = 0.7 \\[5ex] \underline{Person\;B} \\[3ex] x = 19 \\[3ex] n = 30 \\[3ex] \hat{p} = \dfrac{x}{n} = \dfrac{19}{30} = 0.6333333333 \\[5ex] $ 0.7 > 0.6333333333; therefore
Person A will have a smaller p-value because that person's number of successes is further from the hypothesized number of successes
(15.) A random sample of 10 independent healthy people showed the body temperatures given below​ (in degrees​ Fahrenheit).

98.4 98.3 99.0 96.2 98.3
98.2 97.3 99.2 98.9 97.1

Test the hypothesis that the population mean is not 98.6 °​F, using a significance level of 0.05


One-Sample Mean

$ \underline{1st\;\;Step:\;\;Hypothesis} \\[3ex] H_0:\;\; \mu = 98.6 \\[3ex] H_1:\;\; \mu \ne 98.6 \\[5ex] \underline{2nd\;\;Step:\;\;Test\;\;Statistic} \\[3ex] Sample: \\[3ex] n = 10 \\[3ex] 10 \lt 30 ...use\;\;t-statistic \\[3ex] t = \dfrac{\bar{x} - \mu}{\dfrac{s}{\sqrt{n}}} \\[9ex] \bar{x} = 98.09 \\[3ex] s = 0.9480389115 \\[3ex] \implies \\[3ex] t = \dfrac{98.09 - 98.6}{\dfrac{0.9480389115}{\sqrt{10}}} \\[9ex] t = -1.701155498 \\[5ex] \underline{3rd\;\;Step:\;\;Critical\;\;value\;\;of\;\;t} \\[3ex] df = n - 1 \\[3ex] df = 10 - 1 \\[3ex] df = 9 \\[3ex] Two-tails \\[3ex] \alpha = 0.05 \\[3ex] Critical\;\;t = \pm 2.262 \\[5ex] \underline{4th\;\;Step:\;\;Classical\;\;Approach} \\[3ex] -2.262 \lt -1.701155498 \\[3ex] Critical\;\;t \;\lt\; Test\;\;Statistic \;\;(for\;\;negative\;\;values) \\[3ex] $ This implies that the test statistic is not in the critical region
Decision: Do not reject the null hypothesis

5th Step: Probability Value
By Technology:

Number 15-1

Number 15-2

Number 15-3

$ p-value = 0.12312501 \\[3ex] \alpha = 0.05 \\[3ex] 0.12312501 \gt 0.05 \\[3ex] p-value \;\gt\; significance\;\;level \\[3ex] $ 6th Step: Probability Value Approach
The probability value is greater than the significance level
Decision: Do not reject the null hypothesis

Conclusion: There is insufficient evidence to conclude that the population mean is not 98.6 °F at a significance level of 0.05.

Student: Can you find the probability value for t test by Tables?
Is technology the only way to find it?
Teacher: We can use the t distribution table to find it.
We need to look for the exact value of the test statistic for 9 degrees of freedom and find the significance level that corresponds to that exact value.
If we do not find the exact value, then we have to interpolate between two closest in-between values of significance levels.
Let's do it.


Let p be the probability value that corresponds to the test statistic of -1.701155498 at 9 degrees of freedom
This is a two-tailed test so it goes both ways.
Because the test statistic is negative, we choose a negative value that corresponds to that value.

Number 15-4

$ \underline{Linear\;\;Interpolation} \\[3ex] \dfrac{p - 0.1}{0.2 - 0.1} = \dfrac{-1.701155498 - (-1.833)}{-1.383 - (-1.833)} \\[5ex] \dfrac{p - 0.1}{0.1} = \dfrac{-1.701155498 + 1.833}{-1.383 + 1.833} \\[5ex] \dfrac{p - 0.1}{0.1} = \dfrac{0.131844502}{0.45} \\[5ex] p - 0.1 = \dfrac{0.1(0.131844502)}{0.45} \\[5ex] p - 0.1 = 0.0292987782 \\[3ex] p = 0.0292987782 + 0.1 \\[3ex] p = 0.1292987782 \\[3ex] $ Student: But that is not the value we got using technology
Teacher: Well, yes...but if we rounded both values to 2 decimal places (technology and interpolated values), they are the same
Student: I guess the technology value is more accurate...
Teacher: That is correct.
The values from the t distribution table from which we interpolate (depending on the closest in-between values of interpolation), gives the approximate value to few number of decimal places.
(16.) A certain county is 24​% African American.
Suppose a researcher is looking at jury​ pools, each with 200 ​members, in this county.
The null hypothesis is that the probability of an African American being selected into the jury pool is 24​%.

(a.) How many African Americans would the researcher expect on a jury pool of 200 people if the null hypothesis is​ true?

(b.) Suppose pool A contains 35 African American people out of 200​, and pool B contains 26 African American people out of 200.
Which will have a smaller p-value and​ why?


(a.) Number of African Americans the researcher would expect in a jury pool of 200 people is:

$ 24\% \;\;of\;\; 200 \\[3ex] = 0.24(200) \\[3ex] = 48\;\;African\;\;Americans \\[3ex] $ (b.) Expected hypothesized number of successes: 48
Pool A number of succcesses: 35 African American
Pool B number of successes: 26 African American

Which of them is further from 48?

|48 − 35| = |13| = 13
|48 − 26| = |22| = 22
13 > 12
Pool B will have a smaller p-value because that pool's number of African American people is further from the hypothesized number.
(17.) A random sample of 798 subjects was asked to identify the day of the week that is best for quality family time.
Consider the claim that the days of the week are selected with a uniform distribution so that all days have the same chance of being selected.
The table below shows​ goodness-of-fit test results from the claim and data from the study.
Test that claim using either the critical value method or the​ P-value method with an assumed significance level of α = 0.05.

Num Categories 7 Test statistic, χ² 1731.386
Degrees of freedom 6 Critical χ² 12.592
Expected Freq 114.0000 P-Value 0.0000


Goodness-of-Fit test
Goodness-of-Fit test is always a right-tailed test

Null hypotheses: H0: All days of the week have an equal chance of being selected.
Alternative hypotheses: H1: At least one day of the week has a different chance of being selected.

Test statistic, χ² = 1731.386
Critical χ² = 12.592

Critical Value Method
1731.386 > 12.592
Test statistic, χ² > Critical χ²
This implies that the Test statistic, χ² is in the critical region
Decision: Reject the null hypotheses.

Probability Value Method
0.0000 < 0.05
P-value is < Significance level
Decision: Reject the null hypotheses.

Conclusion: There is sufficient evidence to warrant rejection of the claim that the days of the week are selected with a uniform distribution.
Interpretation: It does not appear that all days have the same chance of being selected.
(18.) A body mass index of more than 25 is considered unhealthful.
The technology output given is from 50 randomly and independently selected people from a health​ agency's study.
Test the hypothesis that the mean BMI is more than 25 using a significance level of 0.05.
Assume that conditions are met.

Number 18

(a.) Determine the null and alternative hypotheses.
(b.) Calculate the test statistic.
(c.) Determine the p-value.
(d.) Interpret the results of the test.


One-Sample Mean

$ (a.) \\[3ex] \underline{Hypothesis} \\[3ex] H_0:\;\; \mu = 25 \\[3ex] H_1:\;\; \mu \gt 25 \\[5ex] (b.) \\[3ex] t = 2.93 \\[5ex] (c.) \\[3ex] p-value = 0.003 \\[3ex] $ (d.) Since the​ p-value is less than or equal to the significance level, reject H0
There is sufficient evidence to conclude that the mean BMI is more than 25 using a significance level of 0.05.
(19.) A hospital readmission is an episode when a patient who has been discharged from a hospital is readmitted again within a certain time period.
Nationally the readmission rate for patients with pneumonia is 18​%.
A hospital was interested in knowing whether their readmission rate for pneumonia was less than the national percentage.
They found 14 patients out of 80 treated for pneumonia in a​ two-month period were readmitted.

(a.) What is p̂​, the sample proportion of​ readmission? (Round to three decimal places as needed).
(b.) Write the null and alternative hypotheses.
(c.) Find the value of the test statistic and explain it in context. (Round to two decimal places as needed).
(d.) The p-value associated with this test statistic is 0.45.
Explain the meaning of the​ p-value in this context.
Based on this​ result, does the​ p-value indicate the null hypothesis should be​ doubted?


One-Sample Proportion

$ (a.) \\[3ex] x = 14 \\[3ex] n = 80 \\[3ex] \hat{p} = \dfrac{x}{n} = \dfrac{14}{80} = 0.175 \\[5ex] $ (b.) 18% = 0.18
Null hypotheses: Nationally the readmission rate for patients with pneumonia is 18​%.
Alternative hypotheses: A hospital was interested in knowing whether their readmission rate for pneumonia was less than the national percentage.

$ H_0:\;\; p = 0.18 \\[3ex] H_1:\;\; p \lt 0.18 \\[3ex] (c.) \\[3ex] q = 1 - p = 1 - 0.18 = 0.82 \\[3ex] z = \dfrac{\hat{p} - p}{\sqrt{\dfrac{pq}{n}}} \\[9ex] z = \dfrac{0.175 - 0.18}{\sqrt{\dfrac{0.18 * 0.82}{80}}} \\[9ex] z = -0.1164050493 \\[3ex] z \approx -0.12 \\[3ex] $ This implies that:
The value of the test statistic tells that the observed proportion of readmissions was 0.12 standard errors below the null hypothesis proportion of readmissions. (it is below because of the negative sign)

(d.) The​ p-value is the probability (0.45) that if the null hypothesis is​ true (Nationally the readmission rate for patients with pneumonia is 18​%.), a test statistic (z = -0.12) will have a value as extreme as or more extreme than the observed value (their readmission rate for pneumonia was very less than the national percentage).
In the context of the question, this implies that:
The probability of getting 14 or fewer readmissions for pneumonia of a random sample of 80 patients with pneumonia is 0.45, assuming the population proportion is 0.18.
In this​ situation, the​ p-value is not small (because it is greater than 0.05), which indicates that the null hypothesis should not be doubted.
(20.) A health agency suggested that a healthy total cholesterol measurement should be 200​ mg/dL or less.
Records from 50 randomly and independently selected people from a study conducted by the agency showed the results in the technology output given below.
Test the hypothesis that the mean cholesterol level is more than 200 using a significance level of 0.05.
Assume that conditions are met.

Number 20

(a.) Determine the null and alternative hypotheses.
(b.) Calculate the test statistic.
(c.) Determine the p-value.
(d.) Interpret the results of the test.


One-Sample Mean

$ (a.) \\[3ex] \underline{Hypothesis} \\[3ex] H_0:\;\; \mu = 200 \\[3ex] H_1:\;\; \mu \gt 200 \\[5ex] (b.) \\[3ex] t = 1.21 \\[5ex] (c.) \\[3ex] p-value = 0.116 \\[3ex] $ (d.) Since the​ p-value is greater than the significance level, do not reject H0
There is insufficient evidence to conclude that the mean cholesterol level is more than 200 ​mg/dL at a significance level of 0.05.




Top




(21.) A professor collected data from classes to see whether humans made selections​ randomly, as a random number generator would.
Each of 43 students had to pick an integer from one to five.
The data are summarized in the table below.
A true random number generator would create roughly equal numbers of all five integers.
Do a​ goodness-of-fit analysis to test the hypothesis that humans are not like random number generators.
Use a significance level of 0.05​, and assume these data were from a random sample of students.

Integer Selection
Integer Times Chosen
One 16
Two 2
Three 7
Four 11
Five 7


1st Step: Hypothesis
Null Hypothesis: H0: Humans are like random number generators and produce numbers in equal quantities.
Alternative Hypothesis: H1: Humans are not like random number generators and do not produce numbers in equal quantities.

Each Observed Value = Times Chosen (Given in the Table)
Total Number of Observed Values = 43
Each Expected Value = roughly equal numbers of all five integers = $\dfrac{43}{5} = 8.6$

2nd Step: Chi-Square Test Statistic
Integer Selection
Integer Observed Values, O Expected Values, E $O - E$ $(O - E)^2$ $\dfrac{(O - E)^2}{E}$ (to 5 decimal places)
One 16 8.6 7.4 54.76 6.36744
Two 2 8.6 −6.6 43.56 5.06512
Three 7 8.6 −1.6 2.56 0.29767
Four 11 8.6 2.4 5.76 0.66977
Five 7 8.6 −1.6 2.56 0.29767
$\chi^2 = \Sigma \dfrac{(O - E)^2}{E} = 12.69767$

Technology Approach: 1st Method:

$ L_1 = Observed \\[3ex] L_2 = Expected \\[3ex] L_3 = L_1 - L_2 \\[3ex] L_4 = L_3^2 \\[3ex] L_5 = L_4 \div L_2 \\[3ex] $ Number 21-1

OR

Technology Approach: 2nd Method:
Degrees of Freedom = 5 − 1 = 4

Number 21-2

Number 21-3

3rd Step: Critical Value Method
Critical value of χ² at 4 degrees of freedom and 0.05 significance level = 9.48772
12.69767 > 9.48772
Test statistic χ² > Critical value χ²
This implies that the Test statistic χ² is in the critical region.
Decision: Reject the null hypothesis.

4th Step: Probability Value Method
By technology: probability = 0.0128514953
0.0128514953 < 0.05
Probability value is less than the level of significance
Decision: Reject the null hypothesis.

Conclusion: Humans have been shown to be different from random number generators.

Student: Can you find the probability value for GOF test by Tables?
Is technology the only way to find it?
Teacher: We can use the χ² table to find it.
We need to look for the exact value of the test statistic for 4 degrees of freedom and find the significance level that corresponds to that exact value.
If we do not find the exact value, then we have to interpolate between two closest in-between values of significance levels.
Let's do it.


Let p be the probability value that corresponds to the test statistic of 12.69767 at 4 degrees of freedom

Number 21-4

$ \underline{Linear\;\;Interpolation} \\[3ex] \dfrac{p - 0.015}{0.01 - 0.015} = \dfrac{12.69767 - 12.3391}{13.2767 - 12.3391} \\[5ex] \dfrac{p - 0.015}{-0.005} = \dfrac{0.35857}{0.9376} \\[5ex] p - 0.015 = \dfrac{-0.005(0.35857)}{0.9376} \\[5ex] p - 0.015 = -0.0019121694 \\[3ex] p = -0.0019121694 + 0.015 \\[3ex] p = 0.0130878306 \\[3ex] $ Student: But that is not the value we got using technology
Teacher: Well, yes...but if we rounded both values to 3 decimal places (technology and interpolated values), they are the same
Student: I guess the technology value is more accurate...
Teacher: That is correct.
The values from the Chi-square table from which we interpolate (depending on the closest in-between values of interpolation), gives the approximate value to few number of decimal places.
(22.) A 55​-question multiple choice quiz has five choices for each question.
Suppose that a student just​ guesses, hoping to get a high score.
The teacher carries out a hypothesis test to determine whether the student was just guessing.
The null hypothesis is p = 0.20, where p is the probability of a correct answer.

(a.) Which of the following describes the value of the​ z-test statistic that is likely to​ result?
Explain your choice.
​(i.) The​ z-test statistic will be close to 0.
​(ii.) The​ z-test statistic will be far from 0

(b.) Which of the following describes the​ p-value that is likely to​ result?
Explain your choice.
​(i.) The​ p-value will be small.
​(ii.) The​ p-value will not be small.


(a.) The null hypothesis is p = 0.20, where p is the probability of a correct answer.
The null hypotheses is true (or assumed to be true)
It makes sense that the probability of getting a correct answer by guessing is 20% so we assume the null hypothesis to be true
The test statistic compares the observed outcome with the outcome of the null hypothesis (expected outcome).
For this case, the observed outcome is close to the expected outcome.
Hence, the z-test statistic will be close to 0.

(b.) Because the null hypothesis is true, obtaining an unusual result is not likely.
Hence, the p-value will not be small.
(23.)


(24.) Use applicable technology to solve this question.
The weights of four randomly and independently selected bags of potatoes labeled 20 pounds were found to be: 21.6, 22.2, 21.3, and 21.2
Assume Normality.

(a.) Using a​ two-sided alternative​ hypothesis, should you be able to reject the hypothesis that the population mean is 20 pounds using a significance level of 0.05​?
Why or why​ not?
The confidence interval is reported​ here: I am 95​% confident the population mean is between 20.9 and 22.3 pounds.

(b.) Determine the null and alternative hypotheses.

(c.) Test the hypothesis that the population mean is not 20.
Use a significance level of 0.05.


(a.) μ = 20
Confidence Interval: I am 95​% confident the population mean is between 20.9 and 22.3 pounds.
20 is not in-beween 20.9 and 22.3
It is not included. It is less than the lower limit of the confidence interval.
Confidence Interval Method: Reject the​ hypothesis, because the interval does not contain the proposed mean.

$ (b.) \\[3ex] \underline{1st\;\;Step:\;\;Hypothesis} \\[3ex] H_0:\;\; \mu = 20 \\[3ex] H_1:\;\; \mu \ne 20 \\[3ex] $ (c.) 2nd Step: Test Statistic
Sample size, n = 4
4 is less than 30
Therefore, we shall use the t test

Number 24-1

Number 24-2

Number 24-3

t test statistic = 7

$ \underline{3rd\;\;Step:\;\;Critical\;\;t-value} \\[3ex] \alpha = 0.05 \\[3ex] df = n - 1 \\[3ex] df = 4 - 1 \\[3ex] df = 3 \\[3ex] $ Critical t-value at 0.05 significance level and 3 degrees of freedom = ± 3.182 (two-tailed test)
Because the test statistic is positive:
Critical t-value = 3.182

4th Step: Critical Value Method
7 > 3.182
test statistic > critical value of t
This implies that the test statistic is in the critical region.
Decision: Reject the null hypothesis.

5th Step: Probability Value
p-value = 0.0059862557

5th Step: Probability Value Method
0.0059862557 < 0.05
probability value is less than the significance level
Decision: Reject the null hypothesis.
(25.)


(26.)


(27.)


(28.)


(29.)


(30.)


(31.) Use an applicable technology software to solve this question.
The accompanying data table shows reaction distances in centimeters for the dominant hand for a random sample of 40 independently chosen college students.
Smaller distances indicate quicker reactions.

Number 31-1

(a.) Make a graph of the distribution of the​ sample.
Make a graph of the distribution.
For values on the boundary of two​ bins, place that value into the bin on the right.
Choose the correct graph below.

Number 31-2

(b.) Describe its shape.

(c.) Find, report, and interpret a​ 95% confidence interval for the population mean.

(d.) Interpret the 95​% confidence interval.

(e.) Suppose a professor said that the population mean should be 10 centimeters.
Test the hypothesis that the population mean is not 10 ​cm, with a significance level of 0.05.
Determine the null and alternative hypotheses.

(f.) Determine the test statistic.

(g.) Determine the probability value.

(h.) Interpret the results of the test.


One-Sample Mean
(a.) Reviewing the histogram, we notice that the bin width is 4
So, let us use the Pearson Statcrunch to draw the histogram for the data.
Then, we can select the correct option.

Number 31-1

Number 31-2

Number 31-3

Number 31-4

So, the correct answer is Option A.
Number 31-5

(b.) The distribution is slightly skewed to the right.

(c.) The sample size is 40
40 > 30
However, the distribution is not a normal distribution
It is a right-skewed distribution
Hence, we shall use the t test.

Number 31-6

Number 31-7

Number 31-8

The 95% confidence interval is: 7.8555374 cm to 10.844463 cm

(d.) One can be 95​% confident that the true population mean reaction distance is between the two values in the confidence interval.

$ (e.) \\[3ex] \underline{Hypothesis} \\[3ex] H_0:\;\; \mu = 10 \\[3ex] H_1:\;\; \mu \ne 10 \\[3ex] $ Number 31-6

Number 31-9

Number 31-10

(f.) The test statistic is: t = −0.87974707

(g.) The p-value is: p-value = 0.3844

(h.) Since the​ p-value is greater than the significance​ level, do not reject H0
There is insufficient evidence to conclude that the population mean is different from 10 cm at a significance level of 0.05.
(32.)


(33.)


(34.)


(35.)


(36.)


(37.)


(38.)


(39.)


(40.)






Top




(43.)


(44.)


(45.)


(46.)


(47.)


(48.)


(49.)


(50.)