UpDownGeoLiftSimulation#
- class causalpy.data.simulate_data.UpDownGeoLiftSimulation[source]#
A reproducible three-arm geo experiment with known potential outcomes.
Spend frames have a common time index and
(geo, channel)columns. Revenue and effect frames have one column per geo. Spend and revenue are simulated USD per week, recorded in each frame’sattrs['unit'].Methods
Attributes
revenueno_interventioneffectsspend_baselinespend_plannedspend_realizedarmstreatment_timetested_channel- __init__(revenue, no_intervention, effects, spend_baseline, spend_planned, spend_realized, arms, treatment_time, tested_channel)#
- classmethod __new__(*args, **kwargs)#