00:01
For this question, we want to find the correlation between two variables in a sample.
00:06
So for this particular question, we want to find the correlation between is it wrong and is it necessary? i'm going to show you how to do this in google sheets.
00:19
If you're using r, it's the core .com test function with your x variable and your y variable, and you can find more documentation for it at this url, or you can repost the question in say that you need the answer done in r.
00:33
If you're doing it in excel or google sheets, the first step, and technically this is true for any software, the first step when you're doing a correlation is you always, always, always want to make a scatter plot of your data.
00:48
If your data is related in a nonlinear way, so if it's like a u shape, it will look like it has a correlation of zero when really your correlation is just nonlinear.
01:02
The way we check for that is we insert a chart and we change it to a scatter plot and we can see that this looks like it's pretty related.
01:13
We can also see that because it's going this direction, it's not going up, it's going down, that our correlation, we expect it to be negative...