Skip to content

available_assumption_types

Signature/Parameters

def available_assumption_types(method = None, include_general = True)

Return assumption types available for the selected method.

Source code in causalinf/assumptions.py
def available_assumption_types(method=None, include_general=True):
    """Return assumption types available for the selected method."""
    return sorted(
        set(
            a.assumption_type
            for a in get_assumptions(method=method, include_general=include_general)
        )
    )