Announcement

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

  • resetxt: error on basic run

    When using the resetxt plugin I get the following error:


    Code:
    . resetxt esg netincome, id(id) it(date)
    
    ==============================================================================
    ==============================================================================
    __00001E not found
    r(111);
    Any idea what's wrong? At first glance it to me looks like a bug.

  • #2
    I installed the software from SSC, and downloaded the example data, and tried the first example given in the output of help resetxt and had success - at least, it ran with no error, I am not able to judge the appropriateness of the results. I will note that when I omitted the model() option, my results matched yours, as the second example shows. So even though the doumentationof the syntax suggests model() is optional, it appears to be required.
    Code:
    . use resetxt, clear
    
    . xtset id t
           panel variable:  id (strongly balanced)
            time variable:  t, 1 to 7
                    delta:  1 unit
    
    . resetxt y x1 x2 , id(id) it(t) model(xtbe)
    
    ==============================================================================
    * Between-Effects Panel Data Regression
    ==============================================================================
      y = x1 + x2
    ------------------------------------------------------------------------------
     Sample Size        =          49   |   Cross Sections Number   =           7
     Wald Test          =     10.0033   |   P-Value > Chi2(2)       =      0.0067
     F-Test             =      5.0017   |   P-Value > F(2 , 40)     =      0.0115
     R2  (R-Squared)    =      0.2961   |   Raw Moments R2          =      0.8720
     R2a (Adjusted R2)  =      0.1553   |   Raw Moments R2 Adj      =      0.8464
     Root MSE (Sigma)   =     15.3783   |   Log Likelihood Function =    -22.8394
    ------------------------------------------------------------------------------
    - R2h= 0.5511   R2h Adj= 0.4613  F-Test =   28.24 P-Value > F(2 , 40)  0.0000
    ------------------------------------------------------------------------------
               y |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
    -------------+----------------------------------------------------------------
              x1 |  -.3999877   .5649543    -0.71   0.483    -1.541803    .7418275
              x2 |  -2.835955    1.38656    -2.05   0.047    -5.638297   -.0336138
           _cons |   91.26953   18.98918     4.81   0.000     52.89097    129.6481
    ------------------------------------------------------------------------------
    
    ==============================================================================
    *** REgression Specification Error Tests (RESET) - Model= (xtbe)
    ==============================================================================
     Ho: Model is Specified  -  Ha: Model is Misspecified
    ------------------------------------------------------------------------------
    * Ramsey Specification ResetF Test
    - Ramsey RESETF1 Test: Y= X Yh2         =  28.229  P-Value > F(1,  45) 0.0000
    - Ramsey RESETF2 Test: Y= X Yh2 Yh3     =  13.814  P-Value > F(2,  44) 0.0000
    - Ramsey RESETF3 Test: Y= X Yh2 Yh3 Yh4 =  10.711  P-Value > F(3,  43) 0.0000
    ------------------------------------------------------------------------------
    * DeBenedictis-Giles Specification ResetL Test
    - Debenedictis-Giles ResetL1 Test       =   1.389  P-Value > F(2, 44)  0.2600
    - Debenedictis-Giles ResetL2 Test       =   1.143  P-Value > F(4, 42)  0.3495
    - Debenedictis-Giles ResetL3 Test       =   1.222  P-Value > F(6, 40)  0.3154
    ------------------------------------------------------------------------------
    * DeBenedictis-Giles Specification ResetS Test
    - Debenedictis-Giles ResetS1 Test       =   0.544  P-Value > F(2, 44)  0.5842
    - Debenedictis-Giles ResetS2 Test       =   1.333  P-Value > F(4, 42)  0.2737
    - Debenedictis-Giles ResetS3 Test       =   0.912  P-Value > F(6, 40)  0.4961
    ------------------------------------------------------------------------------
    - White Functional Form Test: E2= X X2  =  24.073  P-Value > Chi2(1)   0.0000
    ------------------------------------------------------------------------------
    
    . resetxt y x1 x2 , id(id) it(t)
    
    ==============================================================================
    ==============================================================================
    __00001E not found
    r(111);

    Comment


    • #3
      Hi William. Yes, specifying a model solved it, thanks. However, I get a new problem now with resetxt. I've started a new thread: https://www.statalist.org/forums/for...small-data-set.

      Comment

      Working...
      X