cleverly.datasets.weekly_orders_protocol#
- cleverly.datasets.weekly_orders_protocol() StudyProtocol[source]#
Return the protocol of the weekly-orders campaign.
The record starts from
offers_protocol()and changes the fields the weekly outcome and the free-shipping offer change.- Returns:
StudyProtocolThe protocol that compares three offer plans and an odds tilt over three weekly sends, on the order of each week.
See also
make_weekly_ordersThe synthetic law that draws data for this protocol.
cleverly.datasets.offers_protocolThe protocol this record starts from.
Examples
>>> from cleverly.datasets import weekly_orders_protocol >>> protocol = weekly_orders_protocol() >>> len(protocol.treatment_strategies) 5 >>> protocol.horizon 'Weeks 1 to 3, each week ending after its send'