Question

The value of the test statistic for a one-sample t-test for 21 observations is 1.86. Question...

The value of the test statistic for a one-sample t-test for 21 observations is 1.86.

Question 1: The correct R instruction for finding the P-value for a right-tailed test is: A. 1-pt(1.86, 20) B. 1-pt (1.86,21) C. pt(1.86,21) D. pt(1.86, 20)

Question 2: The correct R instruction for finding the P-value for a two-tailed test is: A. pt(1.86,21) B. 2*(1-pt(1.86,21) C. 2*(1-pt(1.86,20) D. 2*(pt(1.86,20)

Homework Answers

Answer #1

Given that,

the value of the test statistic for a one sample t-test for 21 observations is 1.86.

That is, sample size (n)= 21

t = 1.86

Q.1) To find P-value for degrees of freedom = n - 1 = 21 -1 = 20

In R software for finding p-vlaue we used,

pt(test statistic , degrees of freedom)

It gives area to the left of the test statistic value.

Therefore we get p-value for right talied test using command,

1 - pt(1.86, 20) = 0.038829

Answer: A) 1 - pt(1.86, 20)

Q.2)

we know p-value for two tailed test is,

2*P(t > test statistic)

Therefore,

P-value = 2 * ( 1 - pt(1.86,20)) = 0.077658

Answer: C) 2 * (1 - pt(1.86, 20))

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
1. You have a two-tailed test. The t critical value is 2.36 and the test statistic...
1. You have a two-tailed test. The t critical value is 2.36 and the test statistic is 3.11. Assume the null hypothesis is true. The result is (a) Type I error (b) Type II error (c) Correct decision 2. You have a right-tailed test. The t critical value is 1.74 and the test statistic is 1.46. Assume the null hypothesis is true. The result is (a)Type I error (b) Type II error (c) Correct decision 3. You have a right-tailed...
I have solved everything except for the t-statistic and p-value Final test scores for a sample...
I have solved everything except for the t-statistic and p-value Final test scores for a sample of 20 students in a managerial accounting class are shown (a) At α = .05, is there a difference in the population median scores on the two tests? Fill in the right side of the worksheet below. (Round your Rank, R+, and R– answers to 1 decimal place. Negative values should be indicated by a minus sign.) Student Test 1 Test 2 d |d|...
A sample of 30 observations is selected from a normal population. The sample mean is 21,...
A sample of 30 observations is selected from a normal population. The sample mean is 21, and the population standard deviation is 6. Conduct the following test of hypothesis using the 0.05 significance level. H0: μ ≤ 20 H1: μ > 20 Is this a one- or two-tailed test? "One-tailed"—the alternate hypothesis is greater than direction. "Two-tailed"—the alternate hypothesis is different from direction. What is the decision rule? (Round your answer to 2 decimal places.) What is the value of...
A sample of 49 observations is selected from a normal population. The sample mean is 21,...
A sample of 49 observations is selected from a normal population. The sample mean is 21, and the population standard deviation is 4. Conduct the following test of hypothesis using the 0.05 significance level. H0: μ ≤ 20 H1: μ > 20 Is this a one- or two-tailed test? What is the decision rule? (Round your answer to 2 decimal places.) What is the value of the test statistic? (Round your answer to 2 decimal places.) What is your decision...
The one sample t-test from a sample of n = 19 observations for the two-sided (two-tailed)...
The one sample t-test from a sample of n = 19 observations for the two-sided (two-tailed) test of H0: μ = 6 H1: μ ≠ 6 Has a t test statistic value = 1.93. You may assume that the original population from which the sample was taken is symmetric and fairly Normal. Computer output for a t test: One-Sample T: Test of mu = 6 vs not = 6 N    Mean    StDev    SE Mean    95% CI            T       P 19 6.200     ...
1) The one-sample t statistic for testing H0: μ = 10 Ha: μ > 10 from...
1) The one-sample t statistic for testing H0: μ = 10 Ha: μ > 10 from a sample of n = 19 observations has the value t = 1.83. (a) What are the degrees of freedom for this statistic? (b) Give the two critical values t* from the t distribution critical values table that bracket t. < t <   (c) Between what two values does the P-value of the test fall? 0.005 < P < 0.010.01 < P < 0.02    0.02...
The value obtained for the test statistic, z, in a one mean z-test is given. Whether...
The value obtained for the test statistic, z, in a one mean z-test is given. Whether the test is two-tailed, left tailed, right tailed is also specified. For parts (a) and (b), determine: a) the test statistic in a two tailed test is z= -0.88. The p-value is : _? At the 1% significance level, the data _____ sufficient evidence to reject the null hypothesis in favor of the alternative hypothesis because the obtained p-value is _______ the significance level....
Assume the computed t-statistic was t0=1.987 Find the t-critical value for a one-tailed test at the...
Assume the computed t-statistic was t0=1.987 Find the t-critical value for a one-tailed test at the 0.05 significance level with 19 degrees of freedom. Is there sufficient evidence to reject the null hypothesis? Find the t-critical value for a one-tailed test at the 0.05 significance level with a sample size of 30. Is there sufficient evidence to reject the null hypothesis? Find the t-critical value for a two-tailed test at the 0.05 significance level with 15 degrees of freedom. Is...
7.20 (p427) The one-sample t statistic for testing H0: μ = 8 Ha: μ > 8...
7.20 (p427) The one-sample t statistic for testing H0: μ = 8 Ha: μ > 8 from a sample of n=22 observations has the value t = 2.24 a) What are the degrees of freedom for this statistic? b) (report to 3 decimal places) Give the two critical values t* from Table D that bracket t: Lower: Upper: c) (report to 2 decimal places) Between what two values does the P-value of the test fall? Lower:    Upper: d) Is...
A sample of 35 observations is selected from a normal population. The sample mean is 26,...
A sample of 35 observations is selected from a normal population. The sample mean is 26, and the population standard deviation is 4. Conduct the following test of hypothesis using the 0.05 significance level. H0: μ ≤ 25 H1: μ > 25 a) Is this a one- or two-tailed test? "One-tailed"—the alternate hypothesis is greater than direction. "Two-tailed"—the alternate hypothesis is different from direction. b) What is the decision rule? (Round your answer to 3 decimal places.) c) What is...