Y = β0 + β1 X + ε

Info, referenser, m.m...

Show/hide program code for R

Show/hide comments

Show/hide diagrams

48. A simple regression model

Correlation coefficient – a simple but sometimes misused statistic

r = -0.815

r2 = 0.665

Var (grey) = 114.5

Var (res) = 38.5

Y

X

An 'ordinary-least-squares (OLS)' model

β0

β1

(-10 – 10): -5.5

(-2 – 2): -1.6

(Number of values: 30 – 100): 40

(Residual sigma: 0 – 10): 6.5

More regression (Sw)