Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • poi2hdfe error: unrecognized command: *hdfe

    Hello Statalist,

    I am having a strange problem with poi2hdfe. When i execute a command such as below, i get an error that hdfe is not recognized command.

    Code:
     poi2hdfe v lngdp_i lngdp_j, id1(it) id2(jt) cluster(ij)
    
    Total Number of observations used in the regression -> 98058
    
    Starting Estimation of coefficients
    
    unrecognized command:  hdfe
    r(199); t=0.80 22:51:06

    As you see, hdfe is not a separate command. I have uninstalled and reinstalled poi2hdfe, and reghdfe several times, but still having the problem. Does anyone know hoe to fix this?

    Im using Stata 13 MP, with Windows 10.

    Regards,
    Dias

  • #2
    Type "ssc install reghdfe"

    Comment


    • #3
      Dear Sergio,

      Thanks for your reply

      As i mentioned, i have done it several times, but the problem still persists.

      Comment


      • #4
        Not sure why the files didnt download, but you can always get them manually from here:

        https://github.com/sergiocorreia/reg...master/package

        Comment


        • #5
          Dear Sergio,

          Thank you for your reply,

          I installed another great command written by you, hdfe, and it solved the problem. Thanks for all these commands.

          Meanwhile, could you say, do you know any command that we can use to include 3 hd fixed effects in PPML estimations? For gravity estimations, we are required to include 3 fixed effects - pair, importer-time, exporter-time fixed effects. Perhaps more than hundred times i have tried to do it by xtpoisson, but it never, never converged.

          Edit: Today is my good day. Just know i found very useful code, ppml_panel_sg. Please let me know if you know any way other than this.
          Last edited by Said Jafar; 26 Oct 2016, 07:08. Reason: ppml_panel_sg added

          Comment


          • #6
            Let me get back to this issue. I receive the same error with the most recent version of reghdfe from GitHub. In the directory, I also cannot locate the hdfe.ado file.

            Comment


            • #7
              Dear Felix Holub,

              I think you need to install hdfe. Type ssc install hdfe and try again.

              Comment


              • #8
                That one was obious. Thanks

                Comment

                Working...
                X