RegressionKink#

class causalpy.experiments.regression_kink.RegressionKink[source]#

Regression Kink experiment class.

Methods

RegressionKink.__init__(data, formula, ...)

RegressionKink.bayesian_plot([round_to])

Generate plot for regression kink designs.

RegressionKink.input_validation()

Validate the input data and model formula for correctness

RegressionKink.ols_plot(*args, **kwargs)

Abstract method for plotting the model.

RegressionKink.plot(*args, **kwargs)

Plot the model.

RegressionKink.print_coefficients([round_to])

Ask the model to print its coefficients.

RegressionKink.summary([round_to])

Print summary of main results and model coefficients.

Attributes

idata

Return the InferenceData object of the model.

supports_bayes

supports_ols

__init__(data, formula, kink_point, model=None, running_variable_name='x', epsilon=0.001, bandwidth=inf, **kwargs)[source]#
Parameters:
__new__(**kwargs)#