We use the oneβsample proportion z-test statistic:
\[ z = \frac{\hat{\pi}-\pi_0}{\sqrt{\pi_0(1-\pi_0)/n}} \]
Given:
\[ \hat{\pi} = 0.64,\quad \pi_0 = 0.58,\quad n = 100. \]
Step 1 β Compute standard error:
\[ SE = \sqrt{\frac{0.58(1-0.58)}{100}} \] \[ = \sqrt{\frac{0.58 \cdot 0.42}{100}} \] \[ = \sqrt{\frac{0.2436}{100}} \] \[ = \sqrt{0.002436} = 0.04935. \]
Step 2 β Compute test statistic:
\[ z = \frac{0.64 - 0.58}{0.04935} \] \[ = \frac{0.06}{0.04935} \] \[ = 1.216 \approx 1.20. \]
Final Answer: 1.20
| Year | Price of Apple | Quantity of Apple | Price of Banana | Quantity of Banana |
| 2010 | 1 | 100 | 2 | 50 |
| 2011 | 1 | 200 | 2 | 100 |
| 2012 | 2 | 200 | 4 | 100 |
, 0, π₯ β₯ 0 otherwise , 