Bounded predictions
A Beta likelihood and a logit link keep the expected rate between zero and one.
Open-source Python package
Murphet is a Bayesian time-series model for rates and proportions. Forecast churn, conversion and occupancy with Python and Stan.
pip install murphetThe model
A full hotel has 100% occupancy. An empty one has 0%. Choose a likelihood that respects what your observations mean.
A Beta likelihood and a logit link keep the expected rate between zero and one.
Fourier terms capture cycles such as a summer travel peak or a weekly signup rhythm.
An autoregressive term carries information from one observation to the next.