Linear regression on simulated data
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information. fix link Jun 29, 2016
linear-regression.ipynb first commit Jun 29, 2016

Interpreting results of linear regression

Based on the discussion in a blog post. Generate synthetic data for the weight, height, and shoe size of adult women and fit two models:

  • weight ~ height
  • weight ~ height + shoe_size

Manually calculate confidence intervals, p-values of t-tests and F-tests, and compare to the summary report generated by the python library statsmodels.api.