InstrumentalVariable.fit#
- InstrumentalVariable.fit(**kwargs)[source]#
Build the IV model graph and sample the posterior phase.
- Returns:
The same experiment, for chaining.
- Return type:
Self
- Parameters:
**kwargs (
Any) – Sampler overrides forwarded tosample_posterior()(e.g.draws=500), andppc_sampler="jax" | "pymc" | Noneselecting the posterior-predictive backend atfit()time. Omittingppc_sampleron a refit keeps the previous choice, so predictive groups are never left stale against a resampled posterior. The IV backend exposes no prior predictive phase, sosample_prior_predictive()raisesPriorPredictiveNotSupportedException.