The return type of gmm_counterfactual(): a discrete law on K atoms (the
per-component counterfactual outcomes) with abduction weights, plus the one
identified summary – the counterfactual mean. The atom spread is regime
(epistemic) uncertainty about which structural component generated the unit;
it is not the counterfactual outcome's dispersion, which is unidentified.
Accordingly gmm_cf_variance() and gmm_cf_tail_prob() refuse to answer.
Arguments
- atoms
Numeric vector of length
K– the per-component counterfactual outcomes.- weights
Numeric vector of length
K– the abduction weights \(\pi_k(\text{evidence})\).- mean
Numeric scalar – the identified counterfactual mean.
- query
Integer scalar – the queried coordinate index.
- evidence
Numeric vector – the observed unit.
- do
Numeric vector – the intervention.
- name
Human-readable name.
- metadata
Optional list of descriptors.
See also
Other classes:
autoplot.gmm_fit,
glance.gmm_fit,
gmm(),
gmm_dim(),
gmm_fit(),
gmm_n_components(),
gmm_target(),
gmm_weights(),
is_proposal(),
tidy.gmm