The Correlation Coefficient Song
Sxy, divided by the square root of Sxx Syy
How much correlation you got?
And are you pos, neg or not?
And more than nought is positive
And anything below nought would be negative
And if the PMCC's close to zero
Then the correlation is no
Oh, baby, won't you
Draw a regression line
Plot a regression line
Use it to interpolate
But do not extrapolate more
That's not what a line of best fit is for.
x-bar, add the x and divide by how many there are
y-bar is the same but for y
Time to give regression a try.
So firstly we have to find b:
Divide Sxx into your value of Sxy
Then we just have to find a,
Get y-bar and bx-bar and take away
Oh, baby, won't you just
Draw a regression line
Plot a regression line
Use it to interpolate
But do not extrapolate more
That's not what a line of best fit is for.
Regression's just finding the line of best fit
Has to pass through the mean point
Measure the slope, won't you satisfy my b?
Draw a regression line
Plot a regression line
Use it to interpolate
But do not extrapolate more
That's not what a line of best fit is for.
Draw a regression line
Plot a regression line
Use it to interpolate
But do not extrapolate more
That's not what a line of best fit is for.
How much correlation you got?
And are you pos, neg or not?
And more than nought is positive
And anything below nought would be negative
And if the PMCC's close to zero
Then the correlation is no
Oh, baby, won't you
Draw a regression line
Plot a regression line
Use it to interpolate
But do not extrapolate more
That's not what a line of best fit is for.
x-bar, add the x and divide by how many there are
y-bar is the same but for y
Time to give regression a try.
So firstly we have to find b:
Divide Sxx into your value of Sxy
Then we just have to find a,
Get y-bar and bx-bar and take away
Oh, baby, won't you just
Draw a regression line
Plot a regression line
Use it to interpolate
But do not extrapolate more
That's not what a line of best fit is for.
Regression's just finding the line of best fit
Has to pass through the mean point
Measure the slope, won't you satisfy my b?
Draw a regression line
Plot a regression line
Use it to interpolate
But do not extrapolate more
That's not what a line of best fit is for.
Draw a regression line
Plot a regression line
Use it to interpolate
But do not extrapolate more
That's not what a line of best fit is for.