# 15.6: Linear Regression Exercises

• • Michelle Oja
• Taft College
$$\newcommand{\vecs}{\overset { \rightharpoonup} {\mathbf{#1}} }$$ $$\newcommand{\vecd}{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$

## Exercise $$\PageIndex{1}$$

How are correlation and regression similar? How are they different?

Correlation and regression both involve taking two continuous variables and finding a linear relation between them. Correlations find a standardized value describing the direction and magnitude of the relation whereas regression finds the line of best fit and uses it to partition and explain variance.

## Exercise $$\PageIndex{2}$$

What are the parts of the regression line equation? $$\widehat{y} = a + b\text{x}$$

$$\widehat{y} =$$ The estimated or predicted value of the outcome variable

$$a =$$ The constant or intercept

$$b =$$ The slope of the line

x = A chosen value of the predictor variable

## Exercise $$\PageIndex{3}$$

Fill out the rest of the ANOVA Sumary Table below for a linear regression in which N = 55.

Table $$\PageIndex{1}$$- ANOVA Summary Table
Source $$SS$$ $$df$$ $$MS$$ $$F$$
Model 34.21
Error 31.91
Total 66.12
Table $$\PageIndex{2}$$- ANOVA Summary Table
Source $$SS$$ $$df$$ $$MS$$ $$F$$