31aa6d413fecf5b2b37a742ab16dcc08277f3d84,linearmodels/panel/model.py,PanelOLS,__init__,#PanelOLS#Any#Any#,76
Before Change
self._other_effect_cats = None
self.other_effects = self._validate_effects(other_effects)
self._validate_data()
self._supported_covs = [HomoskedasticCovariance, HeteroskedasticCovariance, OneWayClusteredCovariance]
self._name = self.__class__.__name__
def _validate_effects(self, effects):
if effects is None:
After Change
2 other.
def __init__(self, dependent, exog, *, weights=None, entity_effect=False, time_effect=False,
other_effects=None):
self.dependent = PanelData(dependent, "Dep")
self.exog = PanelData(exog, "Exog")
self._entity_effect = entity_effect
self._time_effect = time_effect
self._constant = None
self._formula = None
self.weights = self._adapt_weights(weights)
self._other_effect_cats = None
self.other_effects = self._validate_effects(other_effects)
self._validate_data()
self._cov_estimators = CovarianceManager(self.__class__.__name__, HomoskedasticCovariance,
HeteroskedasticCovariance,
OneWayClusteredCovariance)
self._name = self.__class__.__name__
def _validate_effects(self, effects):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: bashtage/linearmodels
Commit Name: 31aa6d413fecf5b2b37a742ab16dcc08277f3d84
Time: 2017-04-03
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/panel/model.py
Class Name: PanelOLS
Method Name: __init__
Project Name: bashtage/linearmodels
Commit Name: 31aa6d413fecf5b2b37a742ab16dcc08277f3d84
Time: 2017-04-03
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/panel/model.py
Class Name: PooledOLS
Method Name: __init__
Project Name: bashtage/linearmodels
Commit Name: 31aa6d413fecf5b2b37a742ab16dcc08277f3d84
Time: 2017-04-03
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/panel/model.py
Class Name: FirstDifferenceOLS
Method Name: __init__