This package is design for general regression models including generalized linear models and others.
It features
- Bayesian framework, allows user to include priors into the mdoel.
- Easy spline interface and spline shape priors and constraint.
Current model pool contains:
- Linear model
- Poisson model
- Binomial model
Package requires Python version above 3.7
, recommend using version 3.8
.
To install the package, the simplest way is through pip
,
pip install regmod
Or you could clone this repository and do,
python setup.py install
Design idea of this package comes from "Animal" package. It is a general tool building template, for more detail please check the link above.