subject
Mathematics, 30.11.2021 22:40 edfwef5024

Step 6: 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'.
game_idyear_idfran_idptsopp_ptselo_ nopp_elo_ngame_locationgame_result< br /> 199511030CHI1996Bulls105911598.2924 1531.7449HW
199511040CHI1996Bulls107851604.3940 1458.6415HW
199511070CHI1996Bulls1171081605.798 31310.9349HW
199511090CLE1996Bulls106881618.8701 1452.8268AW
199511110CHI1996Bulls1101061621.159 11490.2861HW
Bulls is my assigned team
game_idyear_idfran_idptsopp_ptselo_ nopp_elo_ngame_locationgame_result< br /> 201210300MIA2013Celtics1071201586.1 1211666.3193AL
201211020BOS2013Celtics88991566.892 91520.3861HL
201211030WAS2013Celtics89861571.949 11435.2531AW
201211070BOS2013Celtics100941574.59 951432.6027HW
201211090BOS2013Celtics1001061562.3 9821541.7600HL
I picked Celtics as my team
After you are done with your edits, click the block of code below and hit the Run button above.
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))
Any help would be appreciated and Thank You

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 16:20
Two positive integers are 3 units apart on a number line. their product is 108. which equation can be used to solve for m, the greater integer? m(m – 3) = 108 m(m + 3) = 108 (m + 3)(m – 3) = 108 (m – 12)(m – 9) = 108
Answers: 1
question
Mathematics, 21.06.2019 17:00
When only separate discreet points are graphed it is called?
Answers: 1
question
Mathematics, 21.06.2019 19:00
Define multiplicative inverse. give an example of a number and its multiplicative inverse.
Answers: 1
question
Mathematics, 21.06.2019 19:00
Simplify. βˆ’4x^2 (5x^4βˆ’3x^2+xβˆ’2) βˆ’20x^6βˆ’12x^4+8x^3βˆ’8x^2 βˆ’20x^6+12x^4βˆ’4x^3+8x^2 βˆ’20x^8+12x^4βˆ’4x^2+8x βˆ’20x^6+12x^4+4x^3βˆ’8x^2
Answers: 1
You know the right answer?
Step 6: Hypothesis Test for the Difference Between Two Population Means The management of your tea...
Questions
question
English, 19.10.2020 23:01
question
Mathematics, 19.10.2020 23:01
question
Mathematics, 19.10.2020 23:01