dowhy.causal_estimators package

Submodules

dowhy.causal_estimators.instrumental_variable_estimator module

class dowhy.causal_estimators.instrumental_variable_estimator.InstrumentalVariableEstimator(*args, **kwargs)[source]

Bases: dowhy.causal_estimator.CausalEstimator

Compute effect of treatment using the instrumental variables method.

This is a superclass that is inherited by other specific methods.

construct_symbolic_estimator(estimand)[source]

dowhy.causal_estimators.linear_regression_estimator module

class dowhy.causal_estimators.linear_regression_estimator.LinearRegressionEstimator(*args, **kwargs)[source]

Bases: dowhy.causal_estimator.CausalEstimator

Compute effect of treatment using linear regression.

The coefficient of the treatment variable in the regression model is computed as the causal effect. Common method but the assumptions required are too strong. Avoid.

construct_symbolic_estimator(estimand)[source]

dowhy.causal_estimators.propensity_score_matching_estimator module

class dowhy.causal_estimators.propensity_score_matching_estimator.PropensityScoreMatchingEstimator(*args, **kwargs)[source]

Bases: dowhy.causal_estimator.CausalEstimator

construct_symbolic_estimator(estimand)[source]

dowhy.causal_estimators.propensity_score_stratification_estimator module

class dowhy.causal_estimators.propensity_score_stratification_estimator.PropensityScoreStratificationEstimator(*args, **kwargs)[source]

Bases: dowhy.causal_estimator.CausalEstimator

Estimate effect of treatment by stratifying the data into bins with identical common causes.

Straightforward application of the back-door criterion.

construct_symbolic_estimator(estimand)[source]

dowhy.causal_estimators.propensity_score_weighting_estimator module

class dowhy.causal_estimators.propensity_score_weighting_estimator.PropensityScoreWeightingEstimator(*args, **kwargs)[source]

Bases: dowhy.causal_estimator.CausalEstimator

Estimate effect of treatment by stratifying the data into bins with identical common causes.

Straightforward application of the back-door criterion.

construct_symbolic_estimator(estimand)[source]

dowhy.causal_estimators.regression_discontinuity_estimator module

class dowhy.causal_estimators.regression_discontinuity_estimator.RegressionDiscontinuityEstimator(*args, **kwargs)[source]

Bases: dowhy.causal_estimator.CausalEstimator

Compute effect of treatment using the regression discontinuity method.

Estimates effect by transforming the problem to an instrumental variables problem.

construct_symbolic_estimator(estimand)[source]

Module contents

dowhy.causal_estimators.get_class_object(method_name, *args, **kwargs)[source]