OpenNewsLabs / one-regression-six-ways

Code and data for my blog post, 6 ways to run a "simple" regression

Home Page:http://underthecurve.github.io/jekyll/update/2016/07/01/one-regression-six-ways.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

one-regression-six-ways

Code and data for my blog post, 6 ways to run a "simple" regression, in which I ran a regression of health vs. income using the following 6 tools:

  • Excel
  • R
  • Stata
  • SAS
  • PSPP
  • Python (statsmodels)

In each of these tools, I ran the regression, drew diagnostic plots to assess the model fit, tried to identify outliers, and created a dataset with the fitted values and residuals.

I hope this will showcase the different approaches of each tool take toward running a simple linear regression.

About

Code and data for my blog post, 6 ways to run a "simple" regression

http://underthecurve.github.io/jekyll/update/2016/07/01/one-regression-six-ways.html


Languages

Language:Python 42.6%Language:Stata 23.1%Language:R 13.4%Language:SAS 12.4%Language:Scheme 8.5%