Announcement

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

  • #16
    thank for the reply Clyde

    I have run the command

    encode CompanyName, gen (firm)

    xtset firm DataYearFiscal
    repeated time values within panel
    r(451);


    after that, I tried another solution from http://www.stata.com/statalist/archi.../msg00160.html
    but I think still didn't work

    isid firm DataYearFiscal
    variables firm DataYearFiscal do not uniquely identify the observations
    r(459);


    bysort firm DataYearFiscal:assert _N==1
    20 contradictions in 23,508 by-groups
    assertion is false
    r(9);



    . egen company id=group(SIC)

    . tsset company id DataYearFiscal
    repeated time values within panel
    r(451);


    any advice would be appreciated








    Comment


    • #17
      http://www.stata.com/support/faqs/da...d-time-values/

      Comment

      Working...
      X