Skip to main content

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​

NameTypeDescriptionDefaultOptional
dataList[Data]Input dataset.False
y_columnstrTarget column.False
x_columnsList[str]List of columns to use as exogenous variables.False

Returns​

OBBject
results : Dict
OBBject with the fit model returned