ethanweed / pythonbook

Python adaptation of Danielle Navarro's Learning Statistics with R (http://learningstatisticswithr.com/). Work in progress!
100 stars 34 forks source link

Revise Factorial ANOVA chapter to build more on `statsmodels` #22

Open ethanweed opened 1 year ago

ethanweed commented 1 year ago

The structure of the chapter makes more sense if the examples built on statsmodels R-like formulas; most importantly, you can specify models with and without interactions, which cannot be done in penguin. Also, the discussion of ANOVA as linear regression relies on the concepts of these formulas, and also requires statsmodels anyway.