About the project

Making Prophet a Beta.

Stephen Murphy created Murphet to answer a practical forecasting question. How do you model a business metric that has a natural floor and ceiling?

From business rates to a Python package

Conversion, churn and hotel occupancy each express a count as a fraction of a total. A forecast of 1.07 for the fraction of occupied rooms would imply an occupancy rate of 107%. A Beta likelihood gives the model a way to respect the scale and to express how uncertainty changes near its ends.

Murphet combines that likelihood with trend changes, seasonality and autocorrelation in Stan. Python provides the interface for fitting the model and forecasting future observations.

The public release

Stephen first published Murphet on PyPI on April 15, 2025. Version 1.6.6 followed on April 20. The MIT-licensed package includes the Python interface and Stan source. The GitHub repository also contains the example data, guides and notebooks.

Cite Murphet

Murphy, S. (2025). Murphet: A Bayesian Time-Series Model for Bounded Rates. Version 1.6.6. GitHub repository.

Explore the documentation