Question: Data Science Python 3.0 problem: Part E : Write a function optimal_series that takes in , the probability that your team wins an individual game,
Data Science Python 3.0 problem:


Part E: Write a function optimal_series that takes in
, the probability that your team wins an individual game, then computes the Expected Payout for each series of length 
and returns the optimal series length. In addition to returning the optimal series length, your function should also produce a plot of Expected Payout vs Series Length. You may write any additional helper functions that you like, but you should not change the API for the function optimal_series.
p = 0.55. You are the team manager for the CU intramural Quidditch team, the Boulder Beaters, and youve just made it to the national championship series against the Stanford Snitching Snitches. The typical Quidditch championship is a best of 11 series, so the first team to win 6 matches is declared the winner. Furthermore, based on a rigorous statistical analysis of regular season play, the probability that the Boulder Beaters win any one match against the Snitching Snitches is given by p = 0.55. You are the team manager for the CU intramural Quidditch team, the Boulder Beaters, and youve just made it to the national championship series against the Stanford Snitching Snitches. The typical Quidditch championship is a best of 11 series, so the first team to win 6 matches is declared the winner. Furthermore, based on a rigorous statistical analysis of regular season play, the probability that the Boulder Beaters win any one match against the Snitching Snitches is given by
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
