RPubs will retire in June 2027. Your existing documents will stay accessible through December 31, 2031
and Connect Cloud is the recommended home for new publishing. Read the blog post

Recently Published

Publish Document
Data 110 Project
Project 1
Omitted Variable Bias
A practical walkthrough of Omitted Variable Bias (OVB) using the bwght dataset (n = 1,388). Covers the two conditions for OVB, direction of bias using the 2×2 matrix, and a side-by-side regression comparison via stargazer — showing how omitting family income overstates the negative effect of smoking on infant birth weight. Built with R and the wooldridge package.
Document
Code Along 9
Gauss Markov Assumptions and Residual Analysis
A practical walkthrough of the Gauss-Markov assumptions using the wage1 dataset (n = 526). Covers plain-English and technical explanations of all seven assumptions, a simple OLS regression of wages on education, diagnostic plot interpretation, and the case for log-transforming the dependent variable. Built with R and the Wooldridge package.
Document
Code Along 9
Document