Q:

The average salary of all residents of a city is thought to be about $39,000. A research team surveys a random sample of 200 residents; it happens that the average salary of these 200 is about $40,000 with a SD of $12,000. Make a z -test of the null hypothesis that this difference was just chance (in the sampling).Round your values to three decimal places.The test statistic is ____ .The P -value is approximately _____

Accepted Solution

A:
Answer:[tex]z=\frac{40000-39000}{\frac{12000}{\sqrt{200}}}=1.179[/tex]     [tex]p_v =2*P(z>1.179)=2*[1-P(Z<1.179)]=2*[1-0.881]=0.238[/tex]     Step-by-step explanation:Data given and notation     [tex]\bar X=4000[/tex] represent the average score for the sample     [tex]s=12000[/tex] represent the sample standard deviation     [tex]n=200[/tex] sample size     [tex]\mu_o =39000[/tex] represent the value that we want to test     [tex]\alpha[/tex] represent the significance level for the hypothesis test.     z would represent the statistic (variable of interest)     [tex]p_v[/tex] represent the p value for the test (variable of interest)     State the null and alternative hypotheses.     We need to apply a two tailed test.    What are H0 and Ha for this study?     Null hypothesis:  [tex]\mu = 39000[/tex]    Alternative hypothesis :[tex]\mu \neq 39000[/tex]    Compute the test statistic   The sample size is large enough to assume the distribution for the statisitc normal. The statistic for this case is given by:    [tex]z=\frac{\bar X-\mu_o}{\frac{s}{\sqrt{n}}}[/tex] (1)     z-test: "Is used to compare group means. Is one of the most common tests and is used to determine if the mean is (higher, less or not equal) to an specified value".     We can replace in formula (1) the info given like this:     [tex]z=\frac{40000-39000}{\frac{12000}{\sqrt{200}}}=1.179[/tex]     Give the appropriate conclusion for the test   Since is a two tailed test the p value would be:     [tex]p_v =2*P(z>1.179)=2*[1-P(Z<1.179)]=2*[1-0.881]=0.238[/tex]     Conclusion     If we compare the p value and a significance level given for example [tex]\alpha=0.05[/tex] we see that [tex]p_v>\alpha[/tex] so we can conclude that we have enough evidence to FAIL to reject the null hypothesis, then the true population mean for the salary not differs significantly from the value of 39000.