scatter plots, linear relationships, least squares regression Flashcards
association between quantitative variables
can be seen using a scatterplot - how the change in one variable affects another
positive association: above average values of one variable tend to occur with above average values of the second variable (same with below average values) - slope is positive
scatterplot
if there is an explanatory variable, it goes on the horizontal axis. response variable on the vertical axis
forms of scatterplots
linear, curves, clusters
direction of scatterplots
positive or negative association
strength of association
how close the points lie in the simple form of a straight line
fitting straight lines - method of least squares
need to determine what lines are closest to the points
- a regression line describes how the response variable changes in response to the explanatory variable - Canberra used to predict y from x values
- vertical displacement of the line are errors or residuals
- error observed for xi, yi is (data value - predicted value)
- the line that minimised the sum if squared error is the line of best fit or regression - sum of squares is zero is the perfect line