2bcc08a653ca96fe4895e21afc845931ef7681a7,linearmodels/panel/model.py,RandomEffects,from_formula,#Any#Any#Any#,1558
Before Change
>>> mod = RandomEffects.from_formula("y ~ 1 + x1", panel_data)
>>> res = mod.fit()
return super(RandomEffects, cls).from_formula(formula, data, weights=weights)
def fit(self, *, small_sample=False, cov_type="unadjusted", debiased=True, **cov_config):
w = self.weights.values2d
root_w = np.sqrt(w)
After Change
>>> mod = RandomEffects.from_formula("y ~ 1 + x1", panel_data)
>>> res = mod.fit()
parser = PanelFormulaParser(formula, data)
dependent, exog = parser.data
mod = cls(dependent, exog, weights=weights)
mod.formula = formula
return mod
def fit(self, *, small_sample=False, cov_type="unadjusted", debiased=True, **cov_config):
w = self.weights.values2d
root_w = np.sqrt(w)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 17
Instances
Project Name: bashtage/linearmodels
Commit Name: 2bcc08a653ca96fe4895e21afc845931ef7681a7
Time: 2017-12-09
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/panel/model.py
Class Name: RandomEffects
Method Name: from_formula
Project Name: bashtage/linearmodels
Commit Name: 2bcc08a653ca96fe4895e21afc845931ef7681a7
Time: 2017-12-09
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/panel/model.py
Class Name: FirstDifferenceOLS
Method Name: from_formula
Project Name: bashtage/linearmodels
Commit Name: 2bcc08a653ca96fe4895e21afc845931ef7681a7
Time: 2017-12-09
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/panel/model.py
Class Name: BetweenOLS
Method Name: from_formula
Project Name: bashtage/linearmodels
Commit Name: 2bcc08a653ca96fe4895e21afc845931ef7681a7
Time: 2017-12-09
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/panel/model.py
Class Name: RandomEffects
Method Name: from_formula