Question

In: Statistics and Probability

To test ?0: p = 0.4; ?1: p ≠ 0.4, a simple random sample of size...

To test ?0: p = 0.4; ?1: p ≠ 0.4, a simple random sample of size n = 1000 is obtained from a population such that ? ≤ 0.05?. (a) If x = 420 and n = 1000, compute the test statistic 0 z . (b) Test the hypothesis using (i) the classical approach and (ii) the P-value approach. Assume an ? = 0.01 level of significance. (c) What is the conclusion of the hypothesis test?

Solutions

Expert Solution

Solution:

Given:

?0: p = 0.4; ?1: p ≠ 0.4

n = 1000

x = 420

Part a) Compute the test statistic z

where

thud

Part b) Test the hypothesis using

(i) the classical approach:

level of significance = ? = 0.01

Since this is two tailed test , find

Look in z table for Area = 0.0050 and find corresponding z value.

Area 0.0050 is in between 0.0049 and 0.0051, and both the area are at same distance from 0.005

thus we look for both area and find both z values.

Area 0.0049 corresponds to -2.5 and 0.08 , thus z= -2.58

Area 0.0051 corresponds to -2.5 and 0.07 , thus z= -2.57

Thus average of both z values is = ( -2.57 + -2.58 ) / 2 = -2.575

Thus critical z value is = -2.575

Since this is two tailed test , there are two z critical values = ( -2.575 , 2.575 )

Decision Rule:
Reject null hypothesis ,if z test statistic value < z critical value=-2.575 or z test statistic value > z critical value=2.575 , otherwise we fail to reject H0.

Since z test statistic value = is neither < -2.575 , nor > 2.575, that is it does not fall in rejection region, we fail to reject H0.

ii) the P-value approach.

i) For right tailed test , p-value is:

p-value = P(Z > z test statistic)

ii) For left tailed test , p-value is:

p-value = P(Z < z test statistic)

iii) For two tailed test , p-value is:

p-value = 2* P(Z > z test statistic) if z is positive

p-value = 2* P(Z < z test statistic) if z is negative

Since this is two tailed test and z is positive, we use:

p-value = 2* P(Z > z test statistic)  

p-value = 2* P(Z > 1.29)

p-value = 2* [ 1 - P(Z < 1.29) ]

Look in z table for z = 1.2 and 0.09 and find corresponding area.

P( Z< 1.29) = 0.9015

thus

p-value = 2* [ 1 - P(Z < 1.29) ]

p-value = 2* [ 1 - 0.9015 ]

p-value = 2* 0.0985

p-value = 0.1970

Decision Rule:
Reject null hypothesis H0, if P-value < 0.01 level of significance, otherwise we fail to reject H0

Since p-value = 0.1970 > 0.01 level of significance, we fail to reject H0

Part c) What is the conclusion of the hypothesis test?

At 0.01 level of significance, we do not have sufficient evidence to reject the null hypothesis that p =0.4

that is : population proportion is not different from 0.4


Related Solutions

To test ?0: p = 0.4; ?1: p ≠ 0.4, a simple random sample of size...
To test ?0: p = 0.4; ?1: p ≠ 0.4, a simple random sample of size n = 1000 is obtained from a population such that ? ≤ 0.05?. (a) If x = 420 and n = 1000, compute the test statistic 0 z . (b) Test the hypothesis using (i) the classical approach and (ii) the P-value approach. Assume an ? = 0.01 level of significance. (c) What is the conclusion of the hypothesis test?
To test H0: p = 0.65 versus H1: p> 0.65, a simple random sample of n...
To test H0: p = 0.65 versus H1: p> 0.65, a simple random sample of n = 100 individuals is obtained and x = 69 successes are observed. (a) What does it mean to make a Type II error for this test? (b) If the researcher decides to test this hypothesis at the alpha = 0.01 level of significance, compute the probability of making a Type II error if the true population proportion is 0.70. What is the power of...
Find the p-value for the hypothesis test. A random sample of size 50 is taken. The...
Find the p-value for the hypothesis test. A random sample of size 50 is taken. The sample has a mean of 375 and a standard deviation of 81. H0: µ = 400 Ha: µ< 400 The p-value for the hypothesis test is . Your answer should be rounded to 4 decimal places.
Find the p -value for the hypothesis test. A random sample of size 52 is taken....
Find the p -value for the hypothesis test. A random sample of size 52 is taken. The sample has a mean of 425 and a standard deviation of 86. H 0 : µ = 400 H a : µ ≠ 400 The p -value for the hypothesis test is
A test of H0: p = 0.4 versus Ha: p > 0.4 has the test statistic...
A test of H0: p = 0.4 versus Ha: p > 0.4 has the test statistic z = 2.52. Part A: What conclusion can you draw at the 5% significance level? At the 1% significance level? (6 points) Part B: If the alternative hypothesis is Ha: p ≠ 0.4, what conclusion can you draw at the 5% significance level? At the 1% significance level? (4 points) (10 points)
How to draw a simple random sample of size 9 and a systematic sample of size...
How to draw a simple random sample of size 9 and a systematic sample of size 9 from 45 samples size. can you explain the steps for each selected sample for me . thanks
Let Xn is a simple random walk (p = 1/2) on {0, 1, · · ·...
Let Xn is a simple random walk (p = 1/2) on {0, 1, · · · , 100} with absorbing boundaries. Suppose X0 = 50. Let T = min{j : Xj = 0 or N}. Let Fn denote the information contained in X1, · · · , Xn. (1) Verify that Xn is a martingale. (2) Find P(XT = 100). (3) Let Mn = X2 n − n. Verify that Mn is also a martingale. (4) It is known that...
To test Upper H 0​: pequals0.60 versus Upper H 1​: pless than0.60​, a simple random sample...
To test Upper H 0​: pequals0.60 versus Upper H 1​: pless than0.60​, a simple random sample of nequals450 individuals is obtained and xequals252 successes are observed. ​(a) What does it mean to make a Type II error for this​ test? ​(b) If the researcher decides to test this hypothesis at the alphaequals0.05 level of​ significance, compute the probability of making a Type II​ error, beta​, if the true population proportion is 0.56. What is the power of the​ test? ​(c)...
The number of successes and the sample size are given for a simple random sample from...
The number of successes and the sample size are given for a simple random sample from a population. Use the one-proportion z-interval procedure to find the required confidence interval. n = 76, x = 31; 98% level 0.298 to 0.518 0.276 to 0.540 0.297 to 0.519 0.277 to 0.539 Use the one-proportion z-interval procedure to find the required confidence interval. A researcher wishes to estimate the proportion of adults in the city of Darby who are vegetarian. In a random...
A simple random sample of size n is drawn. The sample​ mean is found to be...
A simple random sample of size n is drawn. The sample​ mean is found to be 17.6​, and the sample standard​ deviation, s, is found to be 4.7. A). Construct a 95​% confidence interval about if the sample​ size, n, is 51.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT