Question: ## Step 8 : Confidence Intervals for the Average Relative Skill of All Teams in Your Team's Years print ( Confidence Interval for Average
## Step : Confidence Intervals for the Average Relative Skill of All Teams in Your Team's Years printConfidence Interval for Average Relative Skill in the years to
Mean reLative skiLL of aLL teams from the years
mean youryearsleaguesdfelonmean
Standard deviation of the reLative skill of all teaws from the years
stdev youryearsleaguesdfelonstd
nmathrm lenyouryearsleaguesdf
#Confidence interval
TODO: make your edits here
stderr stdevn
confidencelevel
confint stnorn.intervalconfidencelevel, mean, stderr
print confidence Interval unrounded for Average Relative SkilELO in the years to confint
print confidence interval rounded for Average Relative SkilELO in the years to roundconfint
print
printPython Method to calculate probability that a team has Average Relative Skill LESS than the Average Relative Skill ELO
print
choice stnorm.sf
choice stnorm.cdf
H Pick the correct answer.
printWhich of the two choices choice or choice is correct? Choice or Choice
Confidence Interval for Average Relative Skill in the years to
NameError
Traceback nost recent call last
The management wants to you to calculate a confidence interval for the average relative skill of all teams in You will use the variable 'elon to respresent the relative skill of the teams. To construct a confidence interval, you will need the mean and standard error of the relative skill level in these years. The code block below calculates the mean and the standard deviation. Your edits will calculate the standard error and the confidence interval. Make the following edits to the code block below:
Replace SDVARIABLE?? with the variable name representing the standard deviation of relative skill of all teams from your years. Hint: the standard deviation variable is in the code block below
Replace CL with the confidence level of the confidence interval.
Replace MEANVARIABLE?? with the variable name representing the mean relative skill of all teams from your years. Hint: the mean variable is in the code block below
Replace SEVARIABLE?? with the variable name representing the standard error. Hint: the standard error variable is in the code block below
The management also wants you to calculate the probability that a team in the league has a relative skill level less than that of the team that you picked. Assuming that the relative skill of teams is Normally distributed, Python methods for a Normal distribution can be used to answer this question. The code block below uses two methods from scipy.stats module in Python. Your task is to identify the correct Python method.
After you are done with your edits, click the block of code below and hit the Run button above.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
