correlation and regression (w7) Flashcards
when may data be a mistake
perfect straight line, one or more datapoints a long way away from others, no relationship at all between things you expect to be related
what does correlation find
line of best fit by minimising the differences between data and line
equation for correlation/line of best fit
r = Sxy (how much x and y change together) / Sx.Sy (how much x and y change separately)
what does the r value tell you
the direction of and how strong the correlation is
when is correlation positive
r is above 0
1>(and equal to) r > 0
when is correlation negative
r is below 0
-1< (and equal to) r < 0
when is correlation strong
if r is close to 1
when is correlation weak
if r is close to 0
what does the r2 (r-squared) value tell you
how much of the variance is explained by your correlation
what does r2 close to 1 mean
correlation explains a lot of variance
what does r2 close to 0 mean
correlation explains only a little variance
what is r2 also called
coefficient of determination
what is 1-r2
amount of variance not explained
regression: when x increase by 1, what happens to y
y increases by the slope
correlation and regression: describes how many relationships
C - describes single relationship
R - can describe multiple relationships