cleverly.datasets.pricing_protocol#

cleverly.datasets.pricing_protocol() → StudyProtocol[source]#

Return the protocol of the monthly renewal-price program.

Returns:
StudyProtocol

The protocol that compares the engine’s own prices with a price rise and a price cut over three monthly prices, on the renewal at the third price.

See also

make_sequential_pricing

The synthetic law that draws data for this protocol.

cleverly.StudyProtocol

The record this function fills.

cleverly.datasets.offers_protocol

The protocol of the weekly-offer program.

Notes

The record states time zero, eligibility, the treatment versions, the outcome horizon, and the interference unit. The available history and the confounders are not protocol fields. The assumption rationale names the confounders, and a design prints the history at each node.

Examples

>>> from cleverly.datasets import pricing_protocol
>>> protocol = pricing_protocol()
>>> len(protocol.treatment_strategies)
3
>>> protocol.horizon
'Month 3, at the renewal after the third monthly price'