Aug 4, 2024
Formula:
[ Z = \frac{\bar{X}_1 - \bar{X}_2}{\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}} ]
Example scenario: Grocery store comparing self-checkout vs. standard checkout times.
Steps to perform Z-test:
Proportions compare yes/no data (e.g., pass/fail, preferences).
Steps for hypothesis test:
State hypotheses (null: no difference, alternate: there is a difference).
Use significance level of 0.05.
Compute pooled proportion for Z test. Formula:
[ P_{pooled} = \frac{x_1 + x_2}{n_1 + n_2} ]
Example: Perfume preference comparison between younger and older women.
Compute Z and compare with critical value to accept or reject the null hypothesis._