Announcement

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

  • Help with xtivdfreg

    Sebastian Kripfganz Dear Professor, I have 22 years of data with 32 countries, unbalanced panel. I ran the following command:

    xtivdfreg y x1 x2 x3 x4, absorb( c_id year) iv(x1, lags(2)) factmax(3)

    This is the result: <istmt>: 3499 xtivdfreg_init() not found in STATA 14.

    I ran the same command in stata 17. this is what I got:

    option absorb() requires reghdfe version 6.12.3 or higher and ftools version 2.49.1 or higher:
    type adoupdate reghdfe, update to update reghdfe to its latest version
    type adoupdate ftools, update to update ftools to its latest version
    r(3499);

    I updated them of course:


    . adoupdate reghdfe, update
    note: ado update updates community-contributed files; type update to check for updates to official Stata.

    Checking status of specified packages:

    [217] reghdfe at http://fmwww.bc.edu/repec/bocode/r:
    installed package is up to date

    (no packages require updating)

    . adoupdate ftools, update
    note: ado update updates community-contributed files; type update to check for updates to official Stata.

    Checking status of specified packages:

    [218] ftools at http://fmwww.bc.edu/repec/bocode/f:
    installed package is up to date

    (no packages require updating)

    But still it shows the same error that they need updating.

    Any solution to this, please? What could be wrong here?
    Last edited by Muhammad Ibrahim Shah; 30 Aug 2024, 01:03.

  • #2
    I have checked it on my computer. It runs both under Stata 14 and Stata 17 with the latest SSC versions of reghdfe and ftools.

    It sounds like you might have installed xtivdfreg incorrectly. Does the problem persist after restarting Stata? Did you install xtivdfreg using the ssc install or net install command?

    What are the version numbers if you type the following?
    Code:
    which xtivdfreg               // should be 1.4.3
    which reghdfe                // should be 6.12.3
    which ftools                   // should be 2.49.1
    You might try to uninstall xtivdfreg, reghdfe, and ftools and cleanly install all three packages again. I am afraid this is all I can say based on the available information.
    https://www.kripfganz.de/stata/

    Comment


    • #3
      This is what I get:
      . which xtivdfreg // should be 1.4.3
      c:\ado\plus\x\xtivdfreg.ado
      *! version 1.4.2 06feb2024
      *! Sebastian Kripfganz, www.kripfganz.de
      *! Vasilis Sarafidis, sites.google.com/view/vsarafidis

      . which reghdfe // should be 6.12.3
      c:\ado\plus\r\reghdfe.ado
      *! version 6.12.3 08aug2023

      . which ftools // should be 2.49.1
      c:\ado\plus\f\ftools.ado
      *! version 2.49.1 08aug2023

      Comment


      • #4
        The only thing I can offer is that you could send me your data and the exact code you have run by e-mail. I will then have a look whether I can replicate your problem.
        https://www.kripfganz.de/stata/

        Comment


        • #5
          I figured the code out in STATA 17. I will send the data and code to you in email just in case. Thank you.

          Comment

          Working...
          X