Skip to main content

Section 14.6 Summary

Subsection 14.6.1 Glossary

Regression
Relates different variables that are measured on the same sample. Regression models are used to describe the effect of one of the variables on the distribution of the other one. The former is called the explanatory variable and the later is called the response.
Linear Regression
The effect of a numeric explanatory variable on the distribution of a numeric response is described in terms of a linear trend.
Scatter Plot
A plot that presents the data in a pair of numeric variables. The axes represents the variables and each point represents an observation.
Intercept
A coefficient of a linear equation. Equals the value of \(y\) when the line crosses the \(y\)-axis.
Slope
A coefficient of a linear equation. The change in the value of \(y\) for each unit change in the value of \(x\text{.}\) A positive slope corresponds to an increasing line and a negative slope corresponds to a decreasing line.
Covariance
A measures the joint variability of two numeric variables. It is equal to the sum of the product of the deviations from the mean, divided by the number of observations minus 1.
Residuals from Regression
The residual differences between the values of the response for the observation and the estimated expectations of the response under the regression model (the predicted response).
R-Square
is the difference between 1 and the ratio between the variance of the residuals from the regression and the variance of the response. Its value is between 0 and 1 and it represents the fraction of the variability of the response that is explained by the regression line.

Subsection 14.6.2 Formulas

A Linear Equation
\(y = a + b \cdot x\text{.}\)
Covariance
\(\frac{\mbox{Sum of products of the deviations}}{\mbox{Number of values in the sample}-1} = \frac{\sum_{i=1}^n (y_i-\bar y)(x_i - \bar x)}{n-1}\text{.}\)
Regression Slope
\(b = \mbox{Covariance}(x,y)/\mbox{Var}(x)\text{.}\)
Regression Intercept
\(a = \bar y - b\bar x\text{.}\)
The Regression Model
\(\Expec(Y_i) = a + b \cdot x_i\text{,}\) \(a\) and \(b\) population parameters.
Residuals
\(y_i - (a + bx_i)\text{,}\) \(a\) and \(b\) estimated from the data.
Estimate of Residual Variance
\(\sum_{i=1}^n(y_i - (a + bx_i))^2/(n-2)\text{,}\) \(a\) and \(b\) estimated from the data.
R-Squared
\(1 - \sum_{i=1}^n(y_i - (a + bx_i))^2/\sum_{i=1}^n(y_i - \bar y)^2\text{,}\) \(a\) and \(b\) estimated from the data.