This repository organizes course materials by concept. Each directory pairs the original R Markdown file with a Jupyter notebook rewritten in Python.
- r_fundamentals – Basic Python commands, graphics, indexing, data loading, and summaries using the Auto data set.
- demand_elasticity – Log transformations, simple regressions, and elasticity calculations for orange juice.
- intertemporal_and_cv – Linear regression with cross‑validation.
- regularization_and_trees – LASSO regression and decision tree examples.
- gradient_boosting – Gradient‑boosted tree regression on synthetic data.
- Launch Jupyter and open the
.ipynbfiles inside each directory.
This repository organizes course materials by concept. Each directory pairs the original R Markdown file with a Jupyter notebook rewritten in Python.
- r_fundamentals – Basic Python commands, graphics, indexing, data loading, and summaries using the Auto data set.
- demand_elasticity – Log transformations, simple regressions, and elasticity calculations for orange juice.
- intertemporal_and_cv – Linear regression with cross‑validation.
- regularization_and_trees – LASSO regression and decision tree examples.
- gradient_boosting – Gradient‑boosted tree regression on synthetic data.
- Launch Jupyter and open the
.ipynbfiles inside each directory.
This repository organizes course materials by concept. Each directory pairs the original R Markdown file with a Jupyter notebook converted from it. Notebooks rely on an R kernel.
- r_fundamentals – Basic R commands, graphics, indexing, data loading, and summaries using the Auto data set.
- demand_elasticity – Box plots, log transformations, regressions, and demand elasticities for orange juice.
- intertemporal_and_cv – Demand estimation with intertemporal substitution and cross‑validation.
- regularization_and_trees – LASSO regression, elasticity matrices, and regression tree models.
- gradient_boosting – Gradient‑boosted trees with cross‑validation and feature importance analysis.
- Install R and IRkernel for Jupyter.
- Launch Jupyter and open the
.ipynbfiles inside each directory.
The data files required by each notebook are stored alongside the notebooks.