bartz.bcf.BCFBurninTrace

class bartz.bcf.BCFBurninTrace(mu, tau, tau_0, b)[source]

Burn-in trace of the BCF MCMC, the per-forest diagnostics and the scalar parameters.

mu: BurninTrace

The trace of the prognostic forest.

tau: BurninTrace

The trace of the treatment forest.

tau_0: Float32[Array, '*chains_and_samples']

The treatment effect intercept.

b: Float32[Array, '*chains_and_samples 2']

The adaptive coding weights for untreated and treated units.

classmethod from_state(state)[source]

Create a single-item burn-in trace from a BCF state.

Return type:

BCFBurninTrace

finalize()[source]

Finalize the traces of the two forests.

Return type:

BCFBurninTrace