Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please privode MATLAB code for parts C D E. All information is provided. (copy table below into excel for csv file) basketball-ppg.csv game ppg 1

Please privode MATLAB code for parts C D E. All information is provided.

image text in transcribed

(copy table below into excel for csv file)

basketball-ppg.csv

game ppg
1 13
2 22
3 13
4 27
5 14
6 16
7 22
8 20
9 12
10 24
11 17
12 27
13 19
14 18
15 15
16 27
17 15
18 20
19 22
20 17
21 24
22 21
23 18
24 20
25 23
26 14
27 22
28 18
29 13
30 21
31 23
32 24
33 20
34 31
35 23
36 24
37 19
38 19
39 20
40 19
41 17
42 16
43 23
44 13
45 19
46 11
47 24
48 20
49 14
50 19
51 32
52 19
53 11
54 26
55 29
56 17
57 21
58 27
59 32
60 35
61 17
62 30
63 21
64 22
65 19
66 22
67 25
68 22
69 17
70 27
71 29
72 23
73 24
74 20
75 21
76 28
77 15
78 22
79 26
80 18
81 20
82 30
Exercise 2 - Basketball Player Doping? 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 t* when the player is suspected to start doping. b) Check visually that the distributions of PPGs before and after 1* 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 * in the player's PPGs is due to chance alone. Does your analysis support the league's suspicion? Exercise 2 - Basketball Player Doping? 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 t* when the player is suspected to start doping. b) Check visually that the distributions of PPGs before and after 1* 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 * in the player's PPGs is due to chance alone. Does your analysis support the league's suspicion

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Watson Watson

5th Edition

0471715360, 978-0471715368

More Books

Students also viewed these Databases questions

Question

How does selection differ from recruitment ?

Answered: 1 week ago