estimation.formula.parse.Formula
estimation.formula.parse.Formula(
_second_stage,
_fixed_effects=None,
_first_stage=None,
)A formulaic-compliant formula.
Attributes
| Name | Description |
|---|---|
| endogenous | Endogenous variables of an instrumental variable specification. |
| exogenous | Exogenous aka covariates aka independent variables. |
| first_stage | The first stage formula of an instrumental variable specification. |
| fixed_effects | The fixed effects of a formula. |
| formula | Full fixest-style formula. |
| second_stage | The second stage formula. |
Methods
| Name | Description |
|---|---|
| parse | Parse fixest-style formula. In case of multiple estimation syntax, |
| parse_to_dict | Group parsed formulas into dictionary keyed by fixed effects. |
parse
estimation.formula.parse.Formula.parse(formula)Parse fixest-style formula. In case of multiple estimation syntax, returns a list of multiple regression formulas.
parse_to_dict
estimation.formula.parse.Formula.parse_to_dict(formula)Group parsed formulas into dictionary keyed by fixed effects.