00:01
Okay, so here we had some temperature data and we had some passengers data and we're asked to get a least square's regression line find the correlation of correlation, sorry, coefficient of correlation and interpret.
00:13
So, first thing i did was i took all the temperature data and i put it into a list and all the passenger data and put it into another list.
00:22
Okay.
00:24
Depending on what you're using, if you're using a statistical program or a calculator, you'll do it slightly differently.
00:30
But if you're using a calculator, then you'll go to the lin -rg function.
00:36
And if you're using, like i'm using r, so i did a lm, which is a linear model of passenger data with respect to temperature.
00:50
When you do that, it's going to give you two values, the slope and the y intercept.
00:54
For the y intercept, which might be called a, you have 594 .25...