Documentation
The Murphet field guide.
Start with a monthly proportion series, then choose a likelihood, seasonal period and inference method for your own data.
QuickstartInstall Murphet and CmdStan, prepare a monthly rate series, and fit your first Bayesian forecast in Python.Advanced usageConfigure seasonal periods, changepoints and inference methods for a Murphet time series.Stan model referenceUnderstand Murphet’s Beta and Gaussian model heads, logit link and autoregressive terms.Tuning with OptunaUse chronological validation folds to tune seasonal and trend parameters for a rate forecast.
Python API
fit_churn_model(t=…, y=…) returns a fitted model. Call model.predict(t_new) with future numeric time steps to obtain an array of predictions.