Three diagnostic displays for an oal() fit:
"wamd"the wAMD selection criterion against the exponent \(\delta\) (
lambda), one curve perlambda2value formethod = "goal"; the selected point is marked. Requireskeep.path = TRUE."coef"the original-scale propensity score coefficient paths against \(\delta\) at the selected
lambda2, one line per covariate; covariates driven to zero (instruments, noise) are visible as lines absorbed into the axis. Requireskeep.path = TRUE."balance"a Love plot of covariate balance before/after weighting, via
cobalt::love.plot()(dispatched throughbal.tab.oal(); cobalt is an Import, so always available).
Arguments
- x
An
oalobject.- type
One of
"wamd"(default),"coef","balance".- ...
For
"balance", further arguments tocobalt::love.plot()(e.g.,thresholds = 0.1); otherwise further graphical parameters passed to the base plotting calls.
Value
For "balance", the ggplot object from cobalt::love.plot()
(invisibly, after printing); otherwise x, invisibly.
