BaseExperiment#

class causalpy.experiments.base.BaseExperiment[source]#

Base class for quasi experimental designs.

Methods

BaseExperiment.__init__([model])

BaseExperiment.get_plot_data(*args, **kwargs)

Recover the data of an experiment along with the prediction and causal impact information.

BaseExperiment.get_plot_data_bayesian(*args, ...)

Abstract method for recovering plot data.

BaseExperiment.get_plot_data_ols(*args, **kwargs)

Abstract method for recovering plot data.

BaseExperiment.plot(*args, **kwargs)

Plot the model.

BaseExperiment.print_coefficients([round_to])

Ask the model to print its coefficients.

Attributes

idata

Return the InferenceData object of the model.

supports_bayes

supports_ols

__init__(model=None)[source]#
classmethod __new__(*args, **kwargs)#