113k views
0 votes
Twenty years ago, entering male high school students of Central High could do an average of 24 pushups in 60 seconds. To see whether this remains true today, a random sample of 36 freshmen was chosen. Suppose their average was 22.5 with a sample standard deviation of 3.1,

(a) Test, using the p-value approach, whether the mean is still equal to 24 at the 5 percent level of significance.
(b) Calculate the power of the test if the true mean is 23.

2 Answers

2 votes

Final answer:

To test whether the mean length of time students spend doing homework each week has increased, we can conduct a hypothesis test using the null hypothesis that the mean time is still 2.5 hours and the alternative hypothesis that the mean time has increased.

Step-by-step explanation:

To test whether the mean length of time students spend doing homework each week has increased, we can conduct a hypothesis test. The null hypothesis, denoted as H0, would be that the mean time is still 2.5 hours. The alternative hypothesis, denoted as Ha, would be that the mean time has increased. In this case, the alternative hypothesis would be Ha: µ > 2.5, where µ represents the population mean.

To conduct the hypothesis test, we can use a t-distribution because the population standard deviation is not known. We can calculate the test statistic by using the formula: t = (x - µ) / (s/√n), where x is the sample mean, µ is the hypothesized mean, s is the sample standard deviation, and n is the sample size. Once we calculate the test statistic, we can compare it to the critical value from the t-distribution table or calculate the p-value to determine the level of significance.

User Pasan Chamikara
by
5.9k points
6 votes

Answer:

a)
t=(22.5-24)/((3.1)/(√(36)))=-2.903


p_v =2*P(t_((35))<-2.903)=0.0064

If we compare the p value and the significance level given
\alpha=0.05 we see that
p_v<\alpha so we can conclude that we have enough evidence to reject the null hypothesis, so we can't conclude that the true mean is still equal to 24 at 5% of significance.

b) Power =0.4626+0.000172=0.463

See explanation below.

Step-by-step explanation:

Part a

Data given and notation


\bar X=22.5 represent the sample mean


s=3.1 represent the sample standard deviation


n=36 sample size


\mu_o =24 represent the value that we want to test


\alpha=0.05 represent the significance level for the hypothesis test.

t would represent the statistic (variable of interest)


p_v represent the p value for the test (variable of interest)

State the null and alternative hypotheses.

We need to conduct a hypothesis in order to check if the mean is still equal to 24, the system of hypothesis would be:

Null hypothesis:
\mu = 24

Alternative hypothesis:
\mu \\eq 24

If we analyze the size for the sample is > 30 but we don't know the population deviation so is better apply a t test to compare the actual mean to the reference value, and the statistic is given by:


t=(\bar X-\mu_o)/((s)/(√(n))) (1)

t-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".

Calculate the statistic

We can replace in formula (1) the info given like this:


t=(22.5-24)/((3.1)/(√(36)))=-2.903

P-value

The first step is calculate the degrees of freedom, on this case:


df=n-1=36-1=35

Since is a bilateral test the p value would be:


p_v =2*P(t_((35))<-2.903)=0.0064

Conclusion

If we compare the p value and the significance level given
\alpha=0.05 we see that
p_v<\alpha so we can conclude that we have enough evidence to reject the null hypothesis, so we can't conclude that the true mean is still equal to 24 at 5% of significance.

Part b

The Power of a test is the probability of rejecting the null hypothesis when, in the reality, it is false.

For this case the power of the test would be:

P(reject null hypothesis|
\mu=23)

If we see the null hypothesis we reject it when we have this:

The critical values from the t distribution with 35 degrees of freedom and at 5% of significance are -2.03 and 2.03. From the z score formula:


t=(\bar x-\mu)/((s)/(√(n)))

If we solve for
\bar x we got:


\bar X= \mu \pm t (s)/(√(n))

Using the two critical values we have the critical values four our sampling distribution under the null hypothesis


\bar X= 24 -2.03 (3.1)/(√(36))=22.951


\bar X= 24 +2.03 (3.1)/(√(36))=25.049

So we reject the null hypothesis if
\bar x<22.951 or
\bar X >25.049

So for our case:

P(reject null hypothesis|
\mu=23) can be founded like this:


P(\bar X <22.951|\mu=23)=P(t<(22.951-23)/((3.1)/(√(36))))=P(t_(35)<-0.0948)=0.4626


P(\bar X >25.012|\mu=23)=P(t<(25.049-23)/((3.1)/(√(36))))=P(t_(35)>3.966)=0.000172

And the power on this case would be the sum of the two last probabilities:

Power =0.4626+0.000172=0.463

User Andrin
by
6.2k points