Skip to content

r(3021) error on ppmlhdfe #26

@George-Sun-ECON

Description

@George-Sun-ECON

I am running a structural gravity model. However, after updating the package of ppmlhdfe and ftool, the following code does not report the regression table anymore, which was working on previous version:

ppmlhdfe trade1 x fta, a(i.exp_id#i.imp_id i.exp_id#i.year i.imp_id#i.year) vce(cluster i.exp_id#i.imp_id)  

The error info is as follows:

HDFE PPML regression                              No. of obs      =    391,691
Absorbing 3 HDFE groups                           Residual df     =     18,839
Statistics robust to heteroskedasticity           Wald chi2(2)    =      26.13
Deviance             =  1.04753e+10               Prob > chi2     =     0.0000
Log pseudolikelihood =  -5239046567               Pseudo R2       =     0.9939

Number of clusters (exp_id#imp_id)=    18,840

_b_table::init_table():  3021  class compiled at different times
_b_table::report_table():     -  function returned error
           _coef_table():     -  function returned error
                 <istmt>:     -  function returned error
r(3021);

I am wondering hwo to fix it. Thanks so much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions