API Reference
estimate
Source code in causalinf/did.py
__init__(formula)
Fit DID model.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
formula
|
str
|
A formula that specifies the model. |
required |
Returns:
Type | Description |
---|---|
DiD
|
Object of class DiD with the fitted model. |