Given:
alpha level = 0.001
Population 1
success = 122
sample size n₁ = 202
Population 2
success = 220
sample size n₂ = 340
Find: test statistic and p-value
Solution:
Based on the given sample, we have two proportions here. Thus, we will be using test of two proportions formula.
![z=\frac{p_1-p_2}{\sqrt[]{p(1-p)((1)/(n_1)+(1)/(n_2))}}](https://img.qammunity.org/2023/formulas/mathematics/college/vyznqkpx0ltt6mu7cep2npfv2zpkhyx4ue.png)
To be able to use the formula, we need to identify first the value of p, p₁, and p₂.


We now have the values of p, p₁, and p₂ as well as n₁ and n₂ (sample size).
p = 0.630996
p₁ = 0.60396
p₂ = 0.6470588
n₁ = 202
n₂ = 340
Let's plug this in to the test of two proportions formula above.
![z=\frac{0.60396-0.6470588}{\sqrt[]{0.630996(1-0.630996)((1)/(202)+(1)/(340))}}](https://img.qammunity.org/2023/formulas/mathematics/college/us0txuamf6sfpdnnanjqmfsqhfrffo7z2k.png)
Solve for z.
![z=\frac{-0.0430988}{\sqrt[]{0.23284((271)/(34340))}}=(-0.0430988)/(0.042866)\approx-1.005](https://img.qammunity.org/2023/formulas/mathematics/college/pdf7xqe388gfk4lr0mpme6bfgwe41toqad.png)
The test-statistic is equal to -1.005.
The p-value equivalent for this is 0.1573.