DifferenceInDifferences#
- class causalpy.pymc_experiments.DifferenceInDifferences[source]#
A class to analyse data from Difference in Difference settings.
Note
There is no pre/post intervention data distinction for DiD, we fit all the data available.
- Parameters:
Methods
DifferenceInDifferences.__init__
(data, ...)DifferenceInDifferences.plot
([round_to])Plot the results.
Prints the model coefficients
DifferenceInDifferences.summary
([round_to])Print text output summarising the results.
Attributes
expt_type
idata
Access to the models InferenceData object
model
- __new__(*args, **kwargs)#