Step 0: Substantive Meaning

This section shows key components involved in the substantive meaning of a regression: the equation, the variables, and the unit of observation.

The example below shows the relationship between each county’s shift towards Donald Trump in 2016 and its median income. The simple linear regression function used to estimate this relationship can be expressed as

\[\begin{align} y &= \beta x + \beta_0 + \epsilon \\ \text{shift to Trump} & = \beta * \text{median income (\$1,000s)} + \beta_0+ \epsilon, \end{align}\]

where

The interactive graphic below shows each county as well as the best fitting regression line. The gray area around the regression line represents an idea of the statistical significance of the effect of county median income.