causalkit.refutation.refute_placebo_treatment#
- causalkit.refutation.refute_placebo_treatment(inference_fn, data, random_state=None, **inference_kwargs)[source]#
Generate random binary treatment variables while keeping outcome and covariates intact. Generates random binary treatment with the same proportion as the original treatment. Breaks the treatment–outcome link.