Question: In [36]: I import numpy as np import scipy . stats as st import pandas as pd import matplotlib. pyplot as plt from IPython. display
![In [36]: I import numpy as np import scipy . stats](https://s3.amazonaws.com/si.experts.images/answers/2024/06/667384b205374_641667384b1a9863.jpg)

In [36]: I import numpy as np import scipy . stats as st import pandas as pd import matplotlib. pyplot as plt from IPython. display import display, HTML nba_orig_df = pd. read_csv( 'nbaallelo. csv' ) assigned_years_league_df = nba_orig_df[ (nba_orig_df[ 'year_id' ]. between(1996, 1998) ) ] 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(assigned_team_df['elo_n' ], your_team_dr['elo_n' ]) print( "Hypothesis Test for the Difference Between Two Population Means" ) print("Test Statistic =", round(test_statistic, 2) ) print("P-value =", round(p_value, 4) ) NameError Traceback (most recent call last)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
