document.write( "Question 1168838: Consider a drug testing company that provides a test for marijuana usage. Among 311 tested​ subjects, results from 25 subjects were wrong​ (either a false positive or a false​ negative). Use a 0.01 significance level to test the claim that less than 10 percent of the test results are wrong.
\n" ); document.write( "Need to find
\n" ); document.write( "Hypothesis test
\n" ); document.write( "p-value
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #851504 by CPhill(1959)\"\" \"About 
You can put this solution on YOUR website!
Absolutely, let's break down this hypothesis test step-by-step.\r
\n" ); document.write( "\n" ); document.write( "**1. Define the Hypotheses**\r
\n" ); document.write( "\n" ); document.write( "* **Null Hypothesis (H₀):** The proportion of wrong test results is 10% or more (p ≥ 0.10).
\n" ); document.write( "* **Alternative Hypothesis (H₁):** The proportion of wrong test results is less than 10% (p < 0.10).\r
\n" ); document.write( "\n" ); document.write( "This is a left-tailed test.\r
\n" ); document.write( "\n" ); document.write( "**2. Set the Significance Level**\r
\n" ); document.write( "\n" ); document.write( "* α = 0.01\r
\n" ); document.write( "\n" ); document.write( "**3. Calculate the Sample Proportion**\r
\n" ); document.write( "\n" ); document.write( "* Sample size (n) = 311
\n" ); document.write( "* Number of wrong results (x) = 25
\n" ); document.write( "* Sample proportion (p̂) = x/n = 25/311 ≈ 0.0804\r
\n" ); document.write( "\n" ); document.write( "**4. Calculate the Test Statistic**\r
\n" ); document.write( "\n" ); document.write( "We'll use the z-test for proportions:\r
\n" ); document.write( "\n" ); document.write( "$$ z = \frac{\hat{p} - p_0}{\sqrt{\frac{p_0(1-p_0)}{n}}} $$\r
\n" ); document.write( "\n" ); document.write( "Where:\r
\n" ); document.write( "\n" ); document.write( "* p̂ = sample proportion (0.0804)
\n" ); document.write( "* p₀ = hypothesized proportion (0.10)
\n" ); document.write( "* n = sample size (311)\r
\n" ); document.write( "\n" ); document.write( "$$ z = \frac{0.0804 - 0.10}{\sqrt{\frac{0.10(1-0.10)}{311}}} $$\r
\n" ); document.write( "\n" ); document.write( "$$ z = \frac{-0.0196}{\sqrt{\frac{0.09}{311}}} $$\r
\n" ); document.write( "\n" ); document.write( "$$ z = \frac{-0.0196}{\sqrt{0.000289389}} $$\r
\n" ); document.write( "\n" ); document.write( "$$ z = \frac{-0.0196}{0.01701144} $$\r
\n" ); document.write( "\n" ); document.write( "$$ z \approx -1.1522 $$\r
\n" ); document.write( "\n" ); document.write( "**5. Calculate the P-value**\r
\n" ); document.write( "\n" ); document.write( "Since this is a left-tailed test, we need to find the area to the left of z = -1.1522 in the standard normal distribution.\r
\n" ); document.write( "\n" ); document.write( "Using a z-table or calculator, we find:\r
\n" ); document.write( "\n" ); document.write( "* P(Z < -1.1522) ≈ 0.1246\r
\n" ); document.write( "\n" ); document.write( "Therefore, the p-value is approximately 0.1246.\r
\n" ); document.write( "\n" ); document.write( "**6. Make a Decision**\r
\n" ); document.write( "\n" ); document.write( "* Compare the p-value (0.1246) with the significance level (0.01).
\n" ); document.write( "* Since 0.1246 > 0.01, we fail to reject the null hypothesis.\r
\n" ); document.write( "\n" ); document.write( "**7. Conclusion**\r
\n" ); document.write( "\n" ); document.write( "There is not sufficient evidence at the 0.01 significance level to support the claim that less than 10 percent of the test results are wrong.\r
\n" ); document.write( "\n" ); document.write( "**Summary**\r
\n" ); document.write( "\n" ); document.write( "* **Hypothesis test:** Left-tailed z-test for proportions.
\n" ); document.write( "* **p-value:** approximately 0.1246.
\n" ); document.write( "
\n" ); document.write( "
\n" );