This repository has been archived by the owner on Sep 30, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Prediction vs. Inference.Rpres
71 lines (38 loc) · 1.68 KB
/
Prediction vs. Inference.Rpres
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Inference vs. Prediction: Implications for Modeling Strategy
========================================================
author: Raphael Peer
date: 2017-12-06
autosize: true
Inference vs. Prediction
=========================================================
| Inference | Prediction |
|---------------------------------------:|:--------------------------------------------|
| Does air quality affect mortality? | What will the mortality be in the future? |
Mortality
=========================================================
![alt text](images/mortality_over_time.png)
Particluate matter with diameter less 10μm (PM10)
=========================================================
![alt text](images/pollution_over_time.png)
Simple scatter plot: no correlation
=========================================================
![alt text](images/scatter.png)
Confounding variables: example
=========================================================
![alt text](images/storks.gif)
Simpsons's paradox
=========================================================
![alt text](images/simpson.png)
Multiple linear regression I
=========================================================
![alt text](images/mult_reg1.png)
Multiple linear regression II
=========================================================
![alt text](images/mult_reg.png)
Prediction: feature importance
=========================================================
![alt text](images/var_imp.png)
In summary: Be clear about your goal
=========================================================
Thank you for your attention!
=========================================================