Biostatistics
Correlation and linear regression Burkhardt Seifert & Alois Tschopp
Biostatistics Unit University of Zurich
Master of Science in Medical Biology 1
Biostatistics Correlation and linear regression Burkhardt Seifert - - PowerPoint PPT Presentation
Biostatistics Correlation and linear regression Burkhardt Seifert & Alois Tschopp Biostatistics Unit University of Zurich Master of Science in Medical Biology 1 Correlation and linear regression Analysis of the relation of two continuous
Master of Science in Medical Biology 1
1 How are two variables x and y related?
2 Can variable y be predicted by means of variable x? Master of Science in Medical Biology 2
Master of Science in Medical Biology 3
170 180 190 200 60 70 80 90 100 110 height weight
Master of Science in Medical Biology 4
Master of Science in Medical Biology 5
+ + +
− − −
Master of Science in Medical Biology 6
Master of Science in Medical Biology 7
x y
x y
x y
x y
x y
x y Master of Science in Medical Biology 8
200 300 400 500 600 1 2 3 4 serum ferritin bone marrow iron
2 3 4 5 6 7 1 2 3 4 log of serum ferritin bone marrow iron
Master of Science in Medical Biology 9
Master of Science in Medical Biology 10
Master of Science in Medical Biology 11
80 100 120 140 160 180 200 60 80 100 120 140 160 height weight
Master of Science in Medical Biology 12
1 Order x1, . . . , xn and y1, . . . , yn separately by ranks 2 Compute the correlation for the ranks instead of for the
Master of Science in Medical Biology 13
1 10 variables → 45 possible correlations
2 Spurious correlation across time (common trend)
3 Extreme data points: outlier, “leverage points” Master of Science in Medical Biology 14
4 Heterogeneity correlation
x y
+ + + + + + + + + +
6 Non-linear relations (strong
x
5
✁10 15 20
✂20 40 60 80
Master of Science in Medical Biology 15
Master of Science in Medical Biology 16
170 180 190 200 60 70 80 90 100 110 height weight
Master of Science in Medical Biology 17
170 180 190 200 20 25 30 height bmi
Master of Science in Medical Biology 18
Master of Science in Medical Biology 19
20 25 30 35 40 10 20 30 40 bmi bodyfat
Master of Science in Medical Biology 20
20 25 30 35 40 10 20 30 40 bmi bodyfat
Master of Science in Medical Biology 21
Master of Science in Medical Biology 22
Master of Science in Medical Biology 23
bmi bodyfat 20 25 30 10 20 30 40
Master of Science in Medical Biology 24
Master of Science in Medical Biology 25
Master of Science in Medical Biology 26
Master of Science in Medical Biology 27
Master of Science in Medical Biology 28
Master of Science in Medical Biology 29
Master of Science in Medical Biology 30
25 30 35 10 20 30 40 bmi bodyfat Master of Science in Medical Biology 31
25 30 35 10 20 30 40 bmi bodyfat
Master of Science in Medical Biology 32
Master of Science in Medical Biology 33
1 Eliminate potential effects of confounding variables in a study
2 Investigate potential prognostic factors of which we are not sure
3 Develop formulas for predictions based on explanatory variables.
4 Study the influence of a variable x1 on a variable y taking into
Master of Science in Medical Biology 34
Master of Science in Medical Biology 35
Master of Science in Medical Biology 36
20 25 30
80 90 110 10 30
25 30
0.80 1.00
20 30 40 70 90 110
0.95 1.10
Master of Science in Medical Biology 37
Master of Science in Medical Biology 38
Master of Science in Medical Biology 39
Master of Science in Medical Biology 40
Master of Science in Medical Biology 41
Master of Science in Medical Biology 42
Master of Science in Medical Biology 43
Master of Science in Medical Biology 44
Master of Science in Medical Biology 45
Master of Science in Medical Biology 46
Master of Science in Medical Biology 47
Master of Science in Medical Biology 48
Master of Science in Medical Biology 49
adj
Master of Science in Medical Biology 50
Master of Science in Medical Biology 51
Master of Science in Medical Biology 52
20 30 40 −2 −1 1 2 fitted bodyfat standardized residuals Master of Science in Medical Biology 53
Master of Science in Medical Biology 54
20 30 40 1 2 3 4 5 fitted bodyfat squared std. residuals
Master of Science in Medical Biology 55
1
2
1
2
1
2
Master of Science in Medical Biology 56
Master of Science in Medical Biology 57
Master of Science in Medical Biology 58
Alter Zuwachs/Jahr 5 10 15 20 5 10 15 20 25
Master of Science in Medical Biology 59