panel_fixed
One- and two-way fixed effects estimator for panel data.
The Fixed Effects estimator to panel data is enabling a focused analysis on the unique characteristics of entities (such as individuals, companies, or countries) and/or time periods. By controlling for entity-specific and/or time-specific influences, this method isolates the effect of explanatory variables (x_columns) on the dependent variable (y_column), under the assumption that these entity or time effects capture unobserved heterogeneity.
Example
from openbb import obb
Parameters
- standard
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| data | List[Data] | Input dataset. | False | |
| y_column | str | Target column. | False | |
| x_columns | List[str] | List of columns to use as exogenous variables. | False |
Returns
OBBject
results : Dict
OBBject with the fit model returned