These generics let balance() interrogate a method specification without
knowing its concrete class. Each balancing method supplies one method per
generic.
Usage
supported_exposure_types(method, ...)
supported_estimands(method, exposure_type)
supports_estimating_equations(method, ...)
method_label(method, ...)
fit_method(method, prepared)Arguments
- method
A balance_method specification.
- ...
Additional context for
supports_estimating_equations(), passed by name. Every method accepts bothexposure_typeandconstraintsand ignores whichever of the two its answer does not depend on, so one call shape puts the question to any method.- exposure_type
One of
"binary","categorical", or"continuous".