Attached is the R code for Q2
# p- value for a one tailed test
# (a)This is a left tailed test
p_value <- pnorm(-1.45, mean = 0, sd = 1, lower.tail
= TRUE)
print(p_value)
# (b) This is a right tailed test
p_value1 <- pnorm(2.31, mean = 0, sd = 1, lower.tail =
FALSE)
print(p_value1)
Answers
(a) p-value = 0.07352926
(b)p-value = 0.01044408
_________________________________________________________________________________________________
Q(3) (a)
Q3 (a) Critical value for a Right tailed test
critical_value <- qnorm(0.01, mean = 0, sd = 1,
lower.tail = FALSE)
Answer Critical Value = 2.326348
Q3(b) # Q3(b) Critical_value for a two tailed test . We have 2
critical values
c1 <- qt(0.5*0.01, 20-1, lower.tail = TRUE)
c2 <- qt(0.5*0.01, 20-1, lower.tail = FALSE)
Critical Value = -2.860935
Critical Value = 2.860935
Q2 For each of the following z-test statistics, compute the p-value assuming that the hypothesis test...
1. Find the P-value for the indicated hypothesis test with the given standardized test statistic, z. Decide whether to reject Upper H 0 for the given level of significance alpha. Two-tailed test with test statistic z= -1.95 and alpha=0.04 P-value= ? (Round to four decimal places as needed.) Reject H0 or fail to reject? 2. Find the critical value(s) for a left-tailed z-test with alpha=0.01. Include a graph with your answer. The critical value(s) is(are) ___ (Round to two...
The P-value for a hypothesis test is shown. Use the P-value to decide whether to reject He when the level of significance is (a) a = 0.01, (b) a = 0.05, and (C) a = 0.10. P = 0.0695 (a) Do you reject or fail to reject He at the 0.01 level of significance? O A. Fail to reject H, because the P-value, 0.0695, is greater than a = 0.01. O B. Fail to reject H, because the P-value, 0.0695,...
1. A random sample of 200 observations indicates a sample mean of 4117 with a standard deviation of 300. Test the hypothesis that the mean is greater than 4100 at alpha = 0.01. Group of answer choices Ho: μ ≤ 4100, Ha: μ > 4100; critical value -2.33, z= -0.92, fail to reject Ho. Ho: μ ≤ 4100, Ha: μ > 4100; critical value -2.33, z= -2.34, reject Ho. Ho: μ ≤ 4100, Ha: μ > 4100; critical value -1.96,...
Find the value of the standard score, z, and determine whether to reject the null hypothesis at a 0.05 significance level. Is the alternative hypothesis supported? H0: μ=17.5 meters, Ha: μ≠17.5 meters, n=49, x overbar =16.9 meters, σ =1.5 meters The value of the standard score is ____. (Round to two decimal places) Find the standard Z score ______. (Round to two decimal places) Is the hypothesis test one tailed for two-tailed? The hypothesis test is ____________ While technology or...
Find the value for the indicated hypothesis test with the given standardized test statistic, z. Decide whether to reject He for the given level of significance a Two-tailed test with test statistic zs - 1.99 and a=0.02 P value - (Round to four decimal places as needed.) State your conclusion Fail to reject He Reject Ho Click to select your answer(s).
A sample mean, sample size, and population standard deviation are given. Use the one-mean z-test to perform the required hypothesis test at the given significance level. Use the critical -value approach. 20) -7.1, n = 18,0 = 1.5, Ho: u = 10; Ha: < 10, a = 0.01 A) z = -8.20; critical value=-2.33; reject Ho B) Z -8.20; critical value = 1.96; do not reject Ho C) Z=-8.20; critical value = -2.33; do not reject Ho D) 2 --8.20;...
A hypothesis test yields a test statistic of z = 1.18. Compute the P-value if this is a one-tailed test and if it is a two-tailed test. O one-tailed P-value is 0.881; and two-tailed P-value is 0.4405 O one-tailed P-value is 0.119; and two-tailed P-value is 0.238 one-tailed P-value is 0.119; and two-tailed P-value is 0.0595 one-tailed P-value is 0.881; and two-tailed P-value is 1.762 Submit Question MacBook Pro 30 F3 Dll og 7 DD FB YO A & (...
Provide an appropriate response. The P- value for a hypothesis test is P= 0.034. Do you reject or fail to reject H0 when the level of significance is a 0.01? reject Ho fail to reject Ho not sufficient information to decide QUESTIO 8 points Save Answer Provide an appropriate response. You wish to test the claim that u s 24 at a level of significance of a 0.01 and are given sample statistics n 40 x-25.8 Assume the population standard...
Find the P value for the indicated hypothesis test with the given standardized test statistic z Decide whether to reject Ho for the given level of significance ? Right-tailed test with test statistic z-1.55 and ?-0.04 P-value(Round to four decimal places as needed.) State your conclusion O Reject Ho O Fail to reject Ho
1) What is the critical value(s) for the requested test statistic with the stated hypothesis and significance level? -0.01, n. 23 a) b) c) Critical Ho: u 10 versus H: Critical Hoius 10 versus H : Critical Ho 10 versus H: 10 > 10 <10 a=0.10, n=12