Skip to content

Instantly share code, notes, and snippets.

View h5li's full-sized avatar
🎯
Focusing

Robin h5li

🎯
Focusing
View GitHub Profile
@h5li
h5li / betareg.py
Created August 10, 2018 23:58 — forked from brentp/betareg.py
beta regression in statsmodels
# -*- coding: utf-8 -*-
u"""
Beta regression for modeling rates and proportions.
References
----------
Grün, Bettina, Ioannis Kosmidis, and Achim Zeileis. Extended beta regression
in R: Shaken, stirred, mixed, and partitioned. No. 2011-22. Working Papers in
Economics and Statistics, 2011.