πŸ“¦ ae06-multiple-regression-part-3

Transformations, interaction terms and unobserved heterogeneity

Author

Eduard (Eddie) Bukin

Three exercises on getting the functional form right. Belongs to Multiple regression.

⬇ Download ae06-multiple-regression-part-3.zip

Unzip it, then open the .Rproj file in RStudio. Every path inside the exercises is relative to that project, so the data will load without edits.

What is inside

ExercisesRead online
ae06-01-interaction-terms-toolbox.rmd The full toolbox: linear transformations and interaction terms, and how to interpret each. rendered source
ae06-02-interaction-continuous.rmd Interactions between two continuous variables, and reading marginal effects off them. rendered source
ae06-03-simpsons-paradox.rmd Unobserved heterogeneity reversing the sign of a relationship. rendered source
DataDownload
data/ice_cream_sales_rnd.csv Simulated ice cream sales, used for the unobserved-heterogeneity example. csv
Project
ae06-multiple-regression-part-3.Rproj RStudio project file β€” open this first.