Docsity

The Simple Linear Regression Model – Notes | STAT 301, Study notes of Data Analysis & Statistical Methods

Toggle sidebar
bg1
14 November
The Simple Linear Regression Model
When conducting a regression analysis on an explanatory variable and a response variable, the
following population model is assumed
Y = β0 + β1 x + ε
β0 is the population y-intercept
β1 is the population slope
ε are random errors, where ε ~ N (0, σ2)
Without ε, all observed points would fall on the regression line
My = β0 + β1 x
Mean of response variable
Assumptions in the model
The distribution of ε at any particular X value has mean 0.
The distribution of ε at any particular X value is normal.
The variance of ε, denoted σ2, is the same for any particular X value.
ε is homoscedastic
The random observations ε1, ε2, … εn associated with different observations are independent of
each other.
We can sum up these assumptions as
εi
iid
N (0, σ2), i = 1, …., n
iid = independently and identically distributed
pf3

Partial preview of the text

Download The Simple Linear Regression Model – Notes | STAT 301 and more Study notes Data Analysis & Statistical Methods in PDF only on Docsity!

14 November The Simple Linear Regression Model When conducting a regression analysis on an explanatory variable and a response variable, the following population model is assumed Y = β 0 + β 1 x + ε β 0 is the population y-intercept β 1 is the population slope ε are random errors, where ε ~ N (0, σ^2 ) Without ε, all observed points would fall on the regression line My = β 0 + β 1 x Mean of response variable Assumptions in the model The distribution of ε at any particular X value has mean 0. The distribution of ε at any particular X value is normal. The variance of ε, denoted σ^2 , is the same for any particular X value. ε is homoscedastic The random observations ε 1 , ε 2 , … εn associated with different observations are independent of each other. We can sum up these assumptions as εi

iid

N (0, σ^2 ), i = 1, …., n iid = independently and identically distributed

In order to perform a regression analysis, we need to avoid any serious violations of the assumptions. We check these assumptions graphically.

Recall that ei = yi - ^ yi are residuals/errors for our fitted model.

We can standardize our residuals di =

ei

esimated s. d. of ei

Better to use di but can use e if you do not have access to a program that calculates d. Verifying the assumptions The mean 0 assumption is used to build our regression line, so it will always hold. To check if the residuals follow a normal distribution, we use a Q-Q plot (normal probability plot) on the residuals. To check independence, we use a time series plot. Series plot of observation number vs. residual value should have no pattern if the points are truly independent. Don’t overthink. Unless you immediately see a pattern, assume that the residuals are independent. Residual plots are used to check homoscedasticity and linearity, and can be used to identify outliers and influential points.

Scatterplots of (X 1 , di [or ei]) or (^ yi , di [or ei])

If two assumptions hold, there will be no pattern in the residual plot, and the points will be evenly spread throughout. Residual plots can also be used to identify highly influential observations or outliers. If a point on the residual plot is far removed from the other points, it is likely a highly influential point.