Professional Documents
Culture Documents
220
SBP = 81.54 + 1.222 Age
200
180
160
140
120
100
80
20 30 40 50 60 70 80 90
Age (years)
Simple linear regression
y
Slope y = α + β1x 1
x
• Regression coefficient b1
– Measures association between y and x
– Amount by which y changes on average when x changes by
one unit
– Least squares method
Multiple linear regression
• Example
– SBP versus age, weight, height, etc
Multiple linear regression
y = α + β1x 1 + β 2 x 2 + ... + βi x i
N
o
0 2
0 4
0 6
0 8
0 1
00
A
GE(y
ears
)
Logistic function
Probability of
disease 1.0
e + bx
P( y x ) =
0.8 1 + e + bx
0.6
0.4
0.2
0.0
x
Transformation
+ bx
e
P( y x ) =
1 + e + bx
P(y x)
1 − P(y x)
P( y x )
ln = + bx ✓ = log odds of disease
1 − P( y x ) in unexposed
{
✓b = log odds ratio associated
logit of P(y|x)
with being exposed
✓e b = odds ratio
5 10
10 20
What is odds ratio?