Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PROVIDE CODE IN MATLAB A basketball league is worried that one of its player is taking athletic performance-enhancing drugs (doping). The league suspects that the
PROVIDE CODE IN MATLAB
A basketball league is worried that one of its player is taking athletic performance-enhancing drugs ("doping"). The league suspects that the player may have started doping around the 40th game last season. The league is providing you with the player's points-per-game (PPG) for every match of last season in order to establish if the apparent increase in this player's PPG can be caused by chance alone. See the file named basketball-PPg.csv. a) Plot the time series of the player's PPG as a function of the game number game 1 is the first of the season, game 2 the second, and so on). Mark with a dashed vertical line the time to when the player is suspected to start doping. b) Check visually that the distributions of PPGs before and after t are approximately normally distributed. c) Check normality with the more formal Kolmogorov-Smirnov test d) Based on your findings about normality of the PPGs, explain why a Z-test can be used to test if the distribution of PPGs after is different from before t". State the Null Hypothesis. e) Determine, with a 1% confidence level, if the change before/after t in the player's PPGs is due to chance alone. Does your analysis support the league's suspicion? A basketball league is worried that one of its player is taking athletic performance-enhancing drugs ("doping"). The league suspects that the player may have started doping around the 40th game last season. The league is providing you with the player's points-per-game (PPG) for every match of last season in order to establish if the apparent increase in this player's PPG can be caused by chance alone. See the file named basketball-PPg.csv. a) Plot the time series of the player's PPG as a function of the game number game 1 is the first of the season, game 2 the second, and so on). Mark with a dashed vertical line the time to when the player is suspected to start doping. b) Check visually that the distributions of PPGs before and after t are approximately normally distributed. c) Check normality with the more formal Kolmogorov-Smirnov test d) Based on your findings about normality of the PPGs, explain why a Z-test can be used to test if the distribution of PPGs after is different from before t". State the Null Hypothesis. e) Determine, with a 1% confidence level, if the change before/after t in the player's PPGs is due to chance alone. Does your analysis support the league's suspicionStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started