Aethel Audio
Start free

Equations · Probability and statistics

Ordinary least squares estimator

The coefficients of the linear regression line that minimise the sum of squared errors.

Press listen to hear it read

β̂ = (XᵀX)⁻¹Xᵀy

Aethel says

beta hat equals the quantity X transpose X, inverse, times X transpose y

What it says

X holds the data, one row per observation and one column per predictor, and y holds the outcomes. The formula gives the coefficients that make the predictions X times beta as close as possible to y, in the sense of the smallest sum of squared differences.

It requires XᵀX to be invertible, which fails when one predictor is an exact combination of others.

Symbol by symbol

SymbolSay itMeans
β̂beta hatthe estimated coefficients; a hat marks an estimate
XᵀX transposethe matrix X with rows and columns swapped
⁻¹inversethe inverse of the matrix
yythe vector of outcomes

More onx̂HatᵀTransposeβBeta

Where you meet it

Econometrics, statistics and machine learning courses.

Questions

How do you say Ordinary least squares estimator out loud?

β̂ = (XᵀX)⁻¹Xᵀy is read: “beta hat equals the quantity X transpose X, inverse, times X transpose y.” That is exactly what Aethel says when it meets the formula in a book.

What does β̂ mean in Ordinary least squares estimator?

β̂ (said “beta hat”) is the estimated coefficients; a hat marks an estimate.

What does Xᵀ mean in Ordinary least squares estimator?

Xᵀ (said “X transpose”) is the matrix X with rows and columns swapped.

Can I listen to the equations in my own textbook like this?

Yes. Upload a PDF, EPUB or text file and Aethel reads it aloud with every equation spoken as maths, the way it reads this one, and highlights each sentence as it goes. You can start free.

Related formulas

Every equation in your textbook, read like this.

Upload a PDF, EPUB or text file and Aethel reads it aloud, equations included, highlighting each sentence. Free to start: five books and an hour of narration, no card needed.