cleverly.IdentificationProvider#
- class cleverly.IdentificationProvider(*args, **kwargs)[source]#
Convert a causal estimand into an observed-data functional.
Implement this protocol to add an identification strategy. The provider must return an
IdentifiedEffectwith explicit assumptions and nuisance requirements.- Parameters:
- *args, **kwargs
Present because
typing.runtime_checkable()gives a protocol a synthetic constructor. A protocol is implemented, not instantiated.
- Attributes:
Methods#
- IdentificationProvider.identify(study: CausalStudy, estimand: Any) IdentifiedEffect[source]#
Identify one estimand for a study.
- Parameters:
- study
CausalStudy Validated observed data and design.
- estimand
Estimand Typed causal quantity to identify.
- study
- Returns:
IdentifiedEffectEstimand bound to an observed-data functional and assumptions.
Attributes#
- IdentificationProvider.name#
Return the provider name used in reports.