bartz.bcf.BCFPotentialOutcomes

class bartz.bcf.BCFPotentialOutcomes[source]

The posterior predictive samples returned by bcf.predict_potential_outcomes.

Also has all the fields of BCFPrediction.

y0: Float32[Array, 'num_samples m']

The outcome if untreated.

y1: Float32[Array, 'num_samples m']

The outcome if treated.

delta: Float32[Array, 'num_samples m']

The individual treatment effect y1 - y0.