Answer:
The test statistic is [tex]z=\frac{\hat p_{1}-\hat p_{2}}{\sqrt{P(1-P)[\frac{1}{n_{1}}+\frac{1}{n_{2}}]}}[/tex].
Step-by-step explanation:
The test statistic for hypothesis test for the significant difference between two proportions is:
[tex]z=\frac{\hat p_{1}-\hat p_{2}}{\sqrt{P(1-P)[\frac{1}{n_{1}}+\frac{1}{n_{2}}]}}[/tex]
The combined proportions P is computed using the formula:
[tex]P=\frac{n_{1}\hat p_{1}+n_{2}\hat p_{2}}{n_{1}+n_{2}}[/tex]
Here,
Sample 1 represents the proportion over the sample of people using the nicotine gum.
Sample 2 represents the proportion over the sample of people using the placebo.