Transaction models#

The purchase-timing half: how many purchases to expect, and whether a customer is still active.

BGNBD

The BG/NBD transaction-flow model.

MBGNBD

The MBG/NBD transaction-flow model — BG/NBD's never-returner variant.

parameter_uncertainty on either model returns a ParameterUncertainty: one row per parameter with the estimate, its bootstrap standard error and a percentile interval, with to_pandas, to_json and plot.

ParameterUncertainty

Per-parameter estimate, bootstrap standard error, and percentile interval.