Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am having trouble writing the code for step Four of Project 2 for MAT-243. Step 4: Hypothesis Test for the Population Mean (II) A

I am having trouble writing the code for step Four of Project 2 for MAT-243.

Step 4: 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.

  1. The dataframe for your team is called your_team_df.
  2. The variable 'pts' represents the points scored by your team.
  3. Calculate and print the mean points scored by your team during the years you picked.
  4. 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)
  5. Assuming that the population standard deviation is unknown, use Python methods to carry out the hypothesis test.
  6. Calculate and print the test statistic rounded to two decimal places.
  7. Calculate and print the P-value rounded to four decimal places

I am just unsure of how to write this module, any guidance will be appreciated!

Below is some data from the previous step:

Mean Relative Skill of your team in the years 2013 to 2015 = 1440.49 Hypothesis Test for the Population Mean Test Statistic = -17.28 P-value = 0.0

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Image Databases Towards Advanced Image Retrieval

Authors: Yihong Gong

1st Edition

1461375037, 978-1461375036

More Books

Students also viewed these Databases questions