Skip to main content

policy.TreatmentPolicy

Immutable rule that assigns one numeric variable during panel simulation.

Usage

policy.TreatmentPolicy(
    name,
    variable,
    rule,
)

Parameter Attributes

name: str
variable: str
rule: _Expr | TimeSchedule | float