clvkit.plotting.plot_independence#

plot_independence(check, *, ax=None, max_frequency=7, **kwargs)[source]#

Figure 4 of Fader, Hardie & Lee (2005) — spend by repeat-purchase count.

The paper’s own way of eyeballing the independence assumption behind CLV: if average transaction value really is independent of the transaction process, the boxes sit at roughly the same height and the spread within each one dwarfs the drift between them.

Parameters:
  • check (IndependenceCheck)

  • ax (Axes | None)

  • max_frequency (int)

Return type:

Axes