Files
OpenBB/website/content/api/econometrics/fe/_index.md
Colin Delahunty 0b33cb45f8 Adds auto yaml generation (#2587)
* Began working on docs creator

* Added fixes

* More

* More

* Adding autogen_try.py for OpenBB API doc generation

* OpenBB API docs gen try

* Fixed

* Added fixes

* Added fixes

* subs -> sub

* Updated docs

* Updated docs

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-09-23 16:43:34 +01:00

998 B
Vendored

Get underlying data

econometrics.fe(regression_variables: List[Tuple], data: Dict[str, pandas.core.frame.DataFrame], entity_effects: bool = False, time_effects: bool = False) -> Tuple[pandas.core.frame.DataFrame, Any, List[Any], Any]

When effects are correlated with the regressors the RE and BE estimators are not consistent. The usual solution is to use Fixed Effects which are called entity_effects when applied to entities and time_effects when applied to the time dimension. [Source: LinearModels]

Parameters
----------
regression_variables : list
    The regressions variables entered where the first variable is
    the dependent variable.
data : dict
    A dictionary containing the datasets.
entity_effects : bool
    Whether to include entity effects
time_effects : bool
    Whether to include time effects

Returns
-------
The dataset used, the dependent variable, the independent variable and
the OLS model.