Answer:
The value of the z-test statistic is
![z = 0.68](https://img.qammunity.org/2022/formulas/mathematics/college/stb3bnke828flzdw76r3tqxn639lnyv132.png)
Explanation:
An article claims that 12% of trees are infested by a bark beetle.
At the null hypothesis, we test if the proportion is of 12%, that is:
![H_0: p = 0.12](https://img.qammunity.org/2022/formulas/mathematics/college/gz59artz3vyjgao7acve037phdgum3d8os.png)
At the alternative hypothesis, we test if the proportion is different of 12%, that is:
![H_1: p \\eq 0.12](https://img.qammunity.org/2022/formulas/mathematics/college/7sd67crqw2dtezkyes6okjt5jtc8k9qhl2.png)
The test statistic is:
![z = (X - \mu)/((\sigma)/(√(n)))](https://img.qammunity.org/2022/formulas/mathematics/college/59im90558cjdobm60unnw2lrn6ewzh3ena.png)
In which X is the sample mean,
is the value tested at the null hypothesis,
is the standard deviation and n is the size of the sample.
0.12 is tested at the null hypothesis:
This means that
![\mu = 0.12, \sigma = √(0.12*0.88)](https://img.qammunity.org/2022/formulas/mathematics/college/ovrpqrd72d683krjlw1n1pi44o4bs88u6l.png)
A random sample of 1,000 trees were tested for traces of the infestation and found that 127 trees were affected.
This means that
![n = 1000, X = (127)/(1000) = 0.127](https://img.qammunity.org/2022/formulas/mathematics/college/weylhd41stxlyhg1l7mqaxfggtd413qfyr.png)
What is the value of the z-test statistic?
![z = (X - \mu)/((\sigma)/(√(n)))](https://img.qammunity.org/2022/formulas/mathematics/college/59im90558cjdobm60unnw2lrn6ewzh3ena.png)
![z = (0.127 - 0.12)/((√(0.12*0.88))/(√(1000)))](https://img.qammunity.org/2022/formulas/mathematics/college/4x7bprje4jlla42qi5t8rz70t0zor2lhh2.png)
![z = 0.68](https://img.qammunity.org/2022/formulas/mathematics/college/stb3bnke828flzdw76r3tqxn639lnyv132.png)
The value of the z-test statistic is
![z = 0.68](https://img.qammunity.org/2022/formulas/mathematics/college/stb3bnke828flzdw76r3tqxn639lnyv132.png)