b0de6536107cc932a7e5e046d07ae4adf910bbde,linearmodels/panel/model.py,PanelOLS,fit,#PanelOLS#Any#,184

Before Change


            y = y + y_gm
            x = x + x_gm

        params = pinv(x) @ y
        df_resid = y.shape[0] - x.shape[1] - neffects
        cov = HomoskedasticCovariance(y, x, params, df_resid)
        eps = y - x @ params

After Change


            x = x + x_gm

        if has_effect:
            if matrix_rank(x) < x.shape[1]:
                raise AbsorbingEffectError(absorbing_error_msg)

        params = lstsq(x, y)[0]
        df_resid = y.shape[0] - x.shape[1] - neffects
        cov = HomoskedasticCovariance(y, x, params, df_resid)
        eps = y - x @ params
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: bashtage/linearmodels
Commit Name: b0de6536107cc932a7e5e046d07ae4adf910bbde
Time: 2017-03-28
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/panel/model.py
Class Name: PanelOLS
Method Name: fit


Project Name: bashtage/linearmodels
Commit Name: 0528bba0156cda78032b698a6fa1c21ff2ebe895
Time: 2017-02-21
Author: kevin.k.sheppard@gmail.com
File Name: panel/iv/covariance.py
Class Name: OneWayClusteredCovariance
Method Name: s


Project Name: nipy/dipy
Commit Name: 689166acceae25a91594a685acdccf20c9140a5c
Time: 2015-09-14
Author: mauro.zucchelli88@gmail.com
File Name: dipy/reconst/shore_cart.py
Class Name: ShoreCartModel
Method Name: fit


Project Name: bashtage/linearmodels
Commit Name: 0528bba0156cda78032b698a6fa1c21ff2ebe895
Time: 2017-02-21
Author: kevin.k.sheppard@gmail.com
File Name: panel/iv/covariance.py
Class Name: KernelCovariance
Method Name: s