Running regressions using statsmodels#
Learning Objectives#
After working through this topic, you should be able to:
import the formula interface of statsmodels
explain how the (patsy) formula syntax works
run simple regression using the formula interface
Materials#
Video:
Download the slides.
statsmodels documentation of the formula interface