Computes propensity weights from the two rule strata (left and right of the ODA cutpoint) using stored training confusion counts. Implements the Yarnold/Linden stratum-weight formula: $$w = n_s \times \Pr(Z=z) / n_{z,s}$$
Value
Data frame with one row per (stratum, class) combination:
stratum_id (1L = rule predicts class 0, 2L = rule predicts
class 1), predicted_class (integer), class (character),
class_n (integer), stratum_n (integer),
marginal_class_n (integer), marginal_total_n (integer),
marginal_class_probability (numeric),
propensity_weight (numeric), undefined_empirical
(logical), adjusted (logical),
adjusted_propensity_weight (numeric),
model_family ("oda").