Discover answers to your questions with Westonci.ca, the leading Q&A platform that connects you with knowledgeable experts. Join our platform to get reliable answers to your questions from a knowledgeable community of experts. Connect with a community of professionals ready to help you find accurate solutions to your questions quickly and efficiently.

Hypothesis Test for the Population Mean (II)
A team averaging 110 points is likely to do very well during the regular season. The coach of your team has hypothesized that your team scored at an average of less than 110 points in the years 2013-2015. Test this claim at a 1% level of significance. For this test, assume that the population standard deviation for relative skill level is unknown.
You are to write this code block yourself.
Use Step 3 to help you write this code block. Here is some information that will help you write this code block. Reach out to your instructor if you need help.
The dataframe for your team is called your_team_df.
The variable 'pts' represents the points scored by your team.
Calculate and print the mean points scored by your team during the years you picked.
Identify the mean score under the null hypothesis. You only have to identify this value and do not have to print it. (Hint: this is given in the problem statement)
Assuming that the population standard deviation is unknown, use Python methods to carry out the hypothesis test.
Calculate and print the test statistic rounded to two decimal places.
Calculate and print the P-value rounded to four decimal places.

Sagot :

The test statistic is -0.46 and the p-value is gotten as 0.3340

How to Calculate the P-value?

The question is not complete because the data from the sample is 105, 107, 117, 106, 110.

Mean of sample is;

Mean = (105 + 107 + 117 + 106 + 110)/5

Mean; x' = 109

From online standard deviation calculator, the standard deviation of the sample is; S = 4.848

Now, the claim is that your team scored an average significantly less than 110 points. Thus, let's define the hypothesis as;

Null Hypothesis; μ = 110

Alternative Hypothesis; μ < 110

standard error of the mean; S_m = S/√n

S_m = 4.848/5

S_m = 2.17

Thus, the t-statistic is;

t = (x' - μ)/S_m

t = (109 - 110)/2.17

t = -0.46

Degree of freedom for this sample size is;

D.F = N - 1 =5 - 1 = 4

From online p-value from t-score calculator, we have;

p-value = 0.3340

The p-value is greater than the significance value and as such we fail to reject the null hypothesis and conclude that there is not enough evidence to support the claim that your team scored an average significantly less than 110 points.

Read more about p-value at; https://brainly.com/question/4621112

#SPJ4