Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please someone solve this problem using the R software! I need the code with the

ID: 2924361 • Letter: P

Question

Please someone solve this problem using the R software! I need the code with the correct answer! I will give good rating if code is provided with answer! Thank You.

A Professor is interested in determining whether or not review sessions affect exam performance. It is known that the review session has 19 students. Based on information gathered in previous semesters, the professor knows that the population mean for a given exam is 24. The average score from the review session is 25, with a standard deviation of 3.5. Can the professor conclude with 95% confidence that the review session is effective?

Explanation / Answer

Solution:-

State the hypotheses. The first step is to state the null hypothesis and an alternative hypothesis.

Null hypothesis: < 24

Alternative hypothesis: > 24

Note that these hypotheses constitute a one-tailed test. The null hypothesis will be rejected if the sample mean is too small.

Formulate an analysis plan. For this analysis, the significance level is 0.05. The test method is a one-sample t-test.

Analyze sample data. Using sample data, we compute the standard error (SE), degrees of freedom (DF), and the t statistic test statistic (t).

SE = s / sqrt(n)

S.E = 0.803

DF = n - 1 = 19 - 1

D.F = 18

t = (x - ) / SE

t = 1.25

where s is the standard deviation of the sample, x is the sample mean, is the hypothesized population mean, and n is the sample size.

The observed sample mean produced a t statistic test statistic of 1.25.

Thus the P-value in this analysis is 0.114.

Interpret results. Since the P-value (0.114) is greater than the significance level (0.05), we cannot reject the null hypothesis.

From the above test we do not have sufficient evidence in the favor of the claim that the review sesison is effective.