subject

Hypothesis Test for the Difference Between Two Population Means
The management of

your team wants to compare the team with the assigned team (the Bulls in 1996-1998). They claim that the skill level of your team in 2013-2015 is the same as the skill level of the Bulls in 1996 to 1998. In other words, the mean relative skill level of your team in 2013 to 2015 is the same as the mean relative skill level of the Bulls in 1996-1998. Test this claim using a 1% level of significance. Assume that the population standard deviation is unknown. Make the following edits to the code block below:
Replace ??DATAFRAME_ASSIGNED_TEAM?? with the name of assigned team's dataframe. See Step 1 for the name of assigned team's dataframe.
Replace ??DATAFRAME_YOUR_TEAM?? with the name of your team's dataframe. See Step 2 for the name of your team's dataframe.
Replace ??RELATIVE_SKILL?? with the name of the variable for relative skill. See the table included in Project Two instructions above to pick the variable name. Enclose this variable in single quotes. For example, if the variable name is var2 then replace ??RELATIVE_SKILL?? with 'var2'.
import scipy. stats as st

mean_elo_n_project_team = assigned_team_df['elo_n'].mean()

print("Mean Relative Skill of the assigned team in the years 1996 to 1998 =", round(mean_elo_n_project_team,2))

mean_elo_n_your_team = your_team_df['elo_n'].mean()

print("Mean Relative Skill of your team in the years 2013 to 2015 =", round(mean_elo_n_your_team,2))

# Hypothesis Test

# TODO: make your edits here

test_statistic, p_value = st. ttest_ind(??DATAFRAME_ASSIGNED_TEAM ??[??RELATIVE_SKILL??], ??DATAFRAME_YOUR_TEAM??[??RELATIVE_ SKILL??])

print("Hypothesis Test for the Difference Between Two Population Means")

print("Test Statistic =", round(test_statistic,2))

print("P-value =", round(p_value,4))

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:00
What season was better from fortnite?
Answers: 2
question
Computers and Technology, 23.06.2019 08:00
What is a scenario where records stored in a computer frequently need to be checked
Answers: 2
question
Computers and Technology, 23.06.2019 14:00
What is html ? give a small description about html
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
In the blank libreoffice writer document, to start the process of entering a date field into a letter, click on the insert menu. edit menu. file menu. fields menu.
Answers: 3
You know the right answer?
Hypothesis Test for the Difference Between Two Population Means
The management of

Questions
question
Spanish, 10.12.2019 05:31
question
Mathematics, 10.12.2019 05:31
Questions on the website: 13722361