# The Line

May be sung to the tune of "The Middle" (Jimmy Eat World)

Data, a scattered n by p set.
It's only in your points you feel spread out, and without trend.
You want to test if your set's a scam
and you worry when they tell your points, "you're unexplained!"

It just takes a line,
X prime X beta equals X prime Y!
Everything, everything will fit just fine.
Everything everything will fit alright, alright.

Beta, you define that plane.
That hat you're wearing makes you look pretty BLUE, but no, not sad.
You fit great, the data need a friend.
It doesn't matter if it's up or down, go find some trends!

It just takes a line, X prime X beta equals X prime Y!
Everything, everything will fit just fine.
Everything everything will fit alright, alright.

It just takes a line,
Gauss and Markov they were pretty fly guys!
Everything, everything will fit just fine.
Everything everything will fit alright, alright.

Data, a scattered n by p set.
It's only in your points; they feel spread out, and without trend.
Just do your test, with beta hat's great plane,
and hope that every x in your set... remains!

It just takes a line,
X prime X beta equals X prime Y!
Everything, everything will fit just fine.
Everything, everything will fit alright, alright.

It just takes a line,
minimize the sum of squares and it's a sign!
Everything, everything will fit just fine.
Everything, everything will fit alright, alright.

Watch the video