Simple Linear Regression

Model

In R: lm(Response ~ Explanatory)

We assume Y=β0+β1X+ϵ using unknown statistics

Where:

The model performs 3 tests to estimate the parameters:

  1. Intercept
  1. Slope
  1. ANOVA F-test

Estimating β0 and β1

Y^=β^0+β1^X (parameters/estimations)

Confidence intervals for the two parameters

Inference

we assume that ϵN(0,σ2) and that the ϵ terms are independent

Testing H0:β1=0

i.e. there is not relationship between X and Y

Measuring the correlation

(123123456)