causal_testing.testing.causal_test_result

This module contains the CausalTestResult class, which is a container for the results of a causal test.

Module Contents

Classes

CausalTestResult

A container to hold the results of a causal test case. Every causal test case provides a point estimate of

class causal_testing.testing.causal_test_result.CausalTestResult(estimator: causal_testing.estimation.abstract_estimator.Estimator, effect_estimate: causal_testing.estimation.effect_estimate.EffectEstimate, adequacy=None, error_message: str = None)

A container to hold the results of a causal test case. Every causal test case provides a point estimate of the ATE, given a particular treatment, outcome, and adjustment set. Some but not all estimators can provide confidence intervals.

__str__()

Return str(self).

to_dict(json=False)

Return result contents as a dictionary :return: Dictionary containing contents of causal_test_result