Notes Scatterplots
Notes Scatterplots
Response Variable:
Describing a scatterplot
Response Variable:
Describing a scatterplot
Response Variable:
The dependent variable – Crime rate
Describing a scatterplot
100
90
80
Calories
70
60
50
40
2 3 4 5 6 7 8 9
Fat (grams)
Drawing a Scatterplot
100
90
80
Calories
70
60
50
40
2 3 4 5 6 7 8 9
Fat (grams)
Drawing a Scatterplot
100
90
80
Calories
70
60
50
40
2 3 4 5 6 7 8 9
Fat (grams)
Drawing a Scatterplot
100
90
80
Calories
70
60
50
40
2 3 4 5 6 7 8 9
Fat (grams)
LSRL
Use the model to predict the calories in a slice of American cheese with
6 grams of fat.
Predictions
Use the model to predict the calories in a slice of American cheese with
6 grams of fat.
Use the model to predict the calories in a slice of American cheese with
6 grams of fat.
Use the model to predict the calories in a slice of American cheese with
6 grams of fat.
Use the model to predict the calories in a slice of American cheese with
6 grams of fat.
Use the model to predict the calories in a slice of American cheese with
6 grams of fat.
Use the model to predict the calories in a slice of American cheese with
6 grams of fat.
90
80
Calories
70
60
50
40
2 3 4 5 6 7 8 9
Fat (grams)
Drawing the LSRL
80
Calories
70
60
50
40
2 3 4 5 6 7 8 9
Fat (grams)
Drawing the LSRL
Calories
70
60
50
40
2 3 4 5 6 7 8 9
Fat (grams)
Drawing the LSRL
Calories
70
60
50
40
2 3 4 5 6 7 8 9
Fat (grams)
Drawing the LSRL
Calories
70
60
50
40
2 3 4 5 6 7 8 9
Fat (grams)
Drawing the LSRL
Calories
70
60
50
40
2 3 4 5 6 7 8 9
Fat (grams)
Regression
^
𝑐𝑟𝑖𝑚𝑒 − 𝑟𝑎𝑡𝑒=4027.383+327.226 ( 𝑝𝑜𝑣𝑒𝑟𝑡𝑦 )
Regression
^
𝑐𝑟𝑖𝑚𝑒 − 𝑟𝑎𝑡𝑒=4027.383+327.226 ( 𝑝𝑜𝑣𝑒𝑟𝑡𝑦 )
Regression
^
𝑐𝑟𝑖𝑚𝑒 − 𝑟𝑎𝑡𝑒=4027.383+327.226 ( 𝑝𝑜𝑣𝑒𝑟𝑡𝑦 )
Regression
^
𝑐𝑟𝑖𝑚𝑒 − 𝑟𝑎𝑡𝑒=4027.383+327.226 ( 𝑝𝑜𝑣𝑒𝑟𝑡𝑦 )
Regression
^
𝑐𝑟𝑖𝑚𝑒 − 𝑟𝑎𝑡𝑒=4027.383+327.226 ( 𝑝𝑜𝑣𝑒𝑟𝑡𝑦 )
Regression
^
𝑐𝑟𝑖𝑚𝑒 − 𝑟𝑎𝑡𝑒=4027.383+327.226 ( 𝑝𝑜𝑣𝑒𝑟𝑡𝑦 )
Regression
^
𝑐𝑟𝑖𝑚𝑒 − 𝑟𝑎𝑡𝑒=4027.383+327.226 ( 𝑝𝑜𝑣𝑒𝑟𝑡𝑦 )
Looking at Output
Y-
intercept
Looking at Output
Y-
intercept
Slope
Looking at Output
Y-
intercept
Slope
Looking at Output
Y-
intercept
Slope
Looking at Output
Y-
intercept
Slope
Looking at Output
90
80
Calories
70
60
50
40
2 3 4 5 6 7 8 9
Fat (grams)
Residuals
90
80
Calories
70
60
50
40
2 3 4 5 6 7 8 9
Fat (grams)
Residuals
Calories
70
60
50
40
2 3 4 5 6 7 8 9
Fat (grams)
Residuals
Calories
residual for the cheese with 7 grams of fat.
70
Negative
60
residual
50
40
2 3 4 5 6 7 8 9
Fat (grams)
Residuals
Calories
residual for the cheese with 7 grams of fat.
Observed = 80 70
Predicted = Negative
60
residual
50
40
2 3 4 5 6 7 8 9
Fat (grams)
Residuals
Calories
residual for the cheese with 7 grams of fat.
Observed = 80 70
40
2 3 4 5 6 7 8 9
Fat (grams)
Residuals
Calories
residual for the cheese with 7 grams of fat.
Observed = 80 70
40
2 3 4 5 6 7 8 9
Fat (grams)
Residuals
Calories
residual for the cheese with 7 grams of fat.
Observed = 80 70
40
2 3 4 5 6 7 8 9
Fat (grams)
Residual Plots
Influential point
Outliers and Influential points
Influential point
Outliers and Influential points
Outliers and Influential points
Calculate and interpret the 95% confidence interval for the slope of the
association between anxiety level and math test score.
Confidence Intervals for Slope
Calculate and interpret the 95% confidence interval for the slope of the
association between anxiety level and math test score.
P: β1=the amount of change in math test score for
each increase of 1 in anxiety level.
Confidence Intervals for Slope
Calculate and interpret the 95% confidence interval for the slope of the
association between anxiety level and math test score.
P: β1=the amount of change in math test score for
each increase of 1 in anxiety level.
A: Linear (Check scatterplot and residuals)
Independence (Check residuals for scatter)
Equal Variance (Check residuals for scatter)
Normalcy (Check histogram of residuals)
Confidence Intervals for Slope
Calculate and interpret the 95% confidence interval for the slope of the
association between anxiety level and math test score.
P: β1=the amount of change in math test score for
each increase of 1 in anxiety level.
A: Linear (Check scatterplot and residuals)
Independence (Check residuals for scatter)
Equal Variance (Check residuals for scatter)
Normalcy (Check histogram of residuals)
N: t-interval for slope
Confidence Intervals for Slope
Calculate and interpret the 95% confidence interval for the slope of the
association between anxiety level and math test score.
P: β1=the amount of change in math test score for
each increase of 1 in anxiety level.
A: Linear (Check scatterplot and residuals)
Independence (Check residuals for scatter)
Equal Variance (Check residuals for scatter)
Normalcy (Check histogram of residuals)
N: t-interval for slope
I: b1 ± t*(SEb)
Confidence Intervals for Slope
Calculate and interpret the 95% confidence interval for the slope of the
association between anxiety level and math test score.
P: β1=the amount of change in math test score for
each increase of 1 in anxiety level.
A: Linear (Check scatterplot and residuals)
Independence (Check residuals for scatter)
Equal Variance (Check residuals for scatter)
Normalcy (Check histogram of residuals)
N: t-interval for slope
I: b1 ± t*(SEb) = -4.486 ±
Confidence Intervals for Slope
Calculate and interpret the 95% confidence interval for the slope of the
association between anxiety level and math test score.
P: β1=the amount of change in math test score for
each increase of 1 in anxiety level.
A: Linear (Check scatterplot and residuals)
Independence (Check residuals for scatter)
Equal Variance (Check residuals for scatter)
Normalcy (Check histogram of residuals)
N: t-interval for slope
I: b1 ± t*(SEb) = -4.486 ± 2.074(1.551)
Confidence Intervals for Slope
Calculate and interpret the 95% confidence interval for the slope of the
association between anxiety level and math test score.
P: β1=the amount of change in math test score for
each increase of 1 in anxiety level.
A: Linear (Check scatterplot and residuals)
Independence (Check residuals for scatter)
Equal Variance (Check residuals for scatter)
Normalcy (Check histogram of residuals)
N: t-interval for slope
I: b1 ± t*(SEb) = -4.486 ± 2.074(1.551) = (-7.7, -1.27)
Confidence Intervals for Slope
Calculate and interpret the 95% confidence interval for the slope of the association
between anxiety level and math test score.
P: β1=the amount of change in math test score for
each increase of 1 in anxiety level.
A: Linear (Check scatterplot and residuals)
Independence (Check residuals for scatter)
Equal Variance (Check residuals for scatter)
Normalcy (Check histogram of residuals)
N: t-interval for slope
I: b1 ± t*(SEb) = -4.486 ± 2.074(1.551) = (-7.7, -1.27)
C: We are 95% confident that on average, the math test score will decrease between 7.7 and 1.27 points for
each increase of 1 in anxiety level.
T-tests for regression