SLR: Model & Least Squares

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/27

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:57 AM on 10/8/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

28 Terms

1
New cards
What is SxxS_{xx}, and what is its computational form?
Sxx=∑(xi−xˉ)2=∑xi2−nxˉ2=∑xi2−(∑xi)2nS_{xx} = \sum (x_i - \bar{x})^2 = \sum x_i^2 - n\bar{x}^2 = \sum x_i^2 - \frac{(\sum x_i)^2}{n}. Use the last form for calculation (avoids rounding error).
2
New cards
What is SyyS_{yy}?
Syy=∑(yi−yˉ)2=∑yi2−(∑yi)2nS_{yy} = \sum (y_i - \bar{y})^2 = \sum y_i^2 - \frac{(\sum y_i)^2}{n}. Same as SSTSS_T.
3
New cards
What is SxyS_{xy}, and what is its computational form?
Sxy=∑(xi−xˉ)(yi−yˉ)=∑xiyi−nxˉyˉ=∑xiyi−(∑xi)(∑yi)nS_{xy} = \sum (x_i - \bar{x})(y_i - \bar{y}) = \sum x_i y_i - n\bar{x}\bar{y} = \sum x_i y_i - \frac{(\sum x_i)(\sum y_i)}{n}.
4
New cards
What is ∑(xi−xˉ)\sum (x_i - \bar{x}) equal to?
00. Hence Sxy=∑(xi−xˉ)yiS_{xy} = \sum (x_i - \bar{x}) y_i.
5
New cards
What is the principle of parsimony?
Use the simplest model that describes the relationship well.
6
New cards
What is the simple linear regression model?
Yi=β0+β1xi+εiY_i = \beta_0 + \beta_1 x_i + \varepsilon_i, i=1,…,ni = 1, \dots, n. β0\beta_0 = intercept, β1\beta_1 = slope, εi\varepsilon_i = random error. XX is known (not random); YY is random.
7
New cards
What are the three standard assumptions on the errors εi\varepsilon_i?
(1) E(εi)=0E(\varepsilon_i) = 0; (2) var(εi)=σ2\text{var}(\varepsilon_i) = \sigma^2 (constant); (3) cov(εi,εj)=0\text{cov}(\varepsilon_i, \varepsilon_j) = 0 for i≠ji \neq j.
8
New cards
What do the three error assumptions mean in words?
YY depends linearly on XX, the variance of YY is the same at every xx, and the YiY_i are uncorrelated.
9
New cards
What is the normal simple linear regression model?
yi∼N(β0+β1xi,σ2)y_i \sim N(\beta_0 + \beta_1 x_i, \sigma^2) independently, i.e. εi∼iidN(0,σ2)\varepsilon_i \overset{iid}{\sim} N(0, \sigma^2). Under normality, zero covariance means the YiY_i are independent.
10
New cards
What is the centred form of the model, and how are its parameters interpreted?
yi=α+β(xi−xˉ)+εiy_i = \alpha + \beta(x_i - \bar{x}) + \varepsilon_i with α=β0+β1xˉ\alpha = \beta_0 + \beta_1\bar{x}, β=β1\beta = \beta_1. Same slope; α\alpha is the mean response at x=xˉx = \bar{x}.
11
New cards
What does least squares minimise?
S(β0,β1)=∑[yi−(β0+β1xi)]2S(\beta_0, \beta_1) = \sum [y_i - (\beta_0 + \beta_1 x_i)]^2.
12
New cards
What are the normal equations?
nβ^0+β^1∑xi=∑yin\hat\beta_0 + \hat\beta_1 \sum x_i = \sum y_i and β^0∑xi+β^1∑xi2=∑xiyi\hat\beta_0 \sum x_i + \hat\beta_1 \sum x_i^2 = \sum x_i y_i (from setting ∂S∂β0=∂S∂β1=0\frac{\partial S}{\partial \beta_0} = \frac{\partial S}{\partial \beta_1} = 0).
13
New cards
What is the least squares estimator of the intercept β0\beta_0?
β^0=yˉ−β^1xˉ\hat\beta_0 = \bar{y} - \hat\beta_1 \bar{x}.
14
New cards
What is the least squares estimator of the slope β1\beta_1?
β^1=SxySxx\hat\beta_1 = \frac{S_{xy}}{S_{xx}}.
15
New cards
What is the difference between an estimator and an estimate?
An estimator is a function of the random YiY_i (so a random variable). An estimate is its value calculated from the observed data.
16
New cards
Why should you not predict outside the observed range of xx?
The relationship may not stay linear outside the range used to fit the model (extrapolation).
17
New cards
How do you interpret the intercept estimate β^0\hat\beta_0?
The predicted value of yy when x=0x = 0.
18
New cards
How do you interpret the slope estimate β^1\hat\beta_1?
The average change in yy for a one-unit increase in xx.
19
New cards
What is the no-intercept model, and what is its least squares estimator?
yi=β1xi+εiy_i = \beta_1 x_i + \varepsilon_i, so E(Y∣X=0)=0E(Y \mid X = 0) = 0. LSE: β^1=∑xiyi∑xi2\hat\beta_1 = \frac{\sum x_i y_i}{\sum x_i^2}.
20
New cards
What is the constant model?
yi=β0+εiy_i = \beta_0 + \varepsilon_i: YY does not depend on XX. Fitted value y^i=yˉ\hat{y}_i = \bar{y}.
21
New cards
When is an estimator θ^\hat\theta unbiased for θ\theta?
When E[θ^]=θE[\hat\theta] = \theta.
22
New cards
How can β^1\hat\beta_1 be written as a linear combination of the YiY_i, and why is it normal?
β^1=∑ciYi\hat\beta_1 = \sum c_i Y_i with ci=xi−xˉSxxc_i = \frac{x_i - \bar{x}}{S_{xx}}, where ∑ci=0\sum c_i = 0 and ∑cixi=1\sum c_i x_i = 1. It is normal because it is a linear combination of normals.
23
New cards
What is the distribution of a linear combination of independent normals (Theorem 2.1)?
If Yi∼N(μi,σi2)Y_i \sim N(\mu_i, \sigma_i^2) independently, then ∑aiYi∼N(∑aiμi,∑ai2σi2)\sum a_i Y_i \sim N\left(\sum a_i \mu_i, \sum a_i^2 \sigma_i^2\right).
24
New cards
What is the sampling distribution of β^1\hat\beta_1?
β^1∼N(β1,σ2Sxx)\hat\beta_1 \sim N\left(\beta_1, \frac{\sigma^2}{S_{xx}}\right). Unbiased.
25
New cards
What is the sampling distribution of β^0\hat\beta_0?
β^0∼N(β0,σ2(1n+xˉ2Sxx))\hat\beta_0 \sim N\left(\beta_0, \sigma^2\left(\frac{1}{n} + \frac{\bar{x}^2}{S_{xx}}\right)\right). Unbiased.
26
New cards
What does it mean that the LS estimators are BLUE, and under what assumptions?
Best Linear Unbiased Estimators: smallest variance among all linear unbiased estimators. Holds under linearity, exogeneity, homoskedasticity and no autocorrelation (Gauss-Markov).
27
New cards
When are β^0\hat\beta_0 and β^1\hat\beta_1 consistent?
If 1nSxx→σx2>0\frac{1}{n} S_{xx} \to \sigma_x^2 > 0, then β^1→pβ1\hat\beta_1 \xrightarrow{p} \beta_1 and β^0→pβ0\hat\beta_0 \xrightarrow{p} \beta_0 (law of large numbers + continuous mapping theorem).
28
New cards