Announcement

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

  • append error (r198)

    Dear Madam/Sir,

    I am a beginner for STATA. It will be highly appreciative if you can advise me how to fix this error potentially related to "outreg2".

    regress ln_audit gafscore mascore big4 cspec ln_nonaudit icw restatement gc auchange merger financing yearend abaccrual ln_at mb leverage roa loss fsalepro SQ_SEGS ar_in spec
    ial_item ln_tenure i.cyear i.sic2, robust cluster(gvkey) outreg2 using "C:\Users\hakjoon\Documents.out", append bdec(3) tstat excel bracket

    invalid 'append'
    r(198);

    Thank you
    Joon1


  • #2
    You need to use the code indicators around code, so that the text doesn't flow into a paragraph to get the best response to posts. For some reason they are considered an advanced feature, so if you don't see the # in the lineup of editing features click on the uppercase A with a line under it at the extreme right above your own text.

    That said, I don't think -append- is a valid option to -outreg2-, nor is it needed. Doesn't -outreg2- append by default? I haven't used it, but that was my impression. You would use the -replace- option to avoid appending.

    Comment


    • #3
      Thank you for your response. I am not quite sure what you meant in your response. I had a similar error with "replace" instead of "append".

      . regress ln_audit gafscore mascore big4 cspec ln_nonaudit icw restatement gc auchange merger financing yearend abaccrual ln_at mb leverage roa loss fsalepro SQ_SEGS ar_in spec
      > ial_item ln_tenure i.cyear i.sic2, robust cluster(gvkey) outreg2 using "C:\Users\hakjoon\Documents.out", replace bdec(3) tstat excel bracket
      invalid 'replace'
      r(198);

      Thank you for your help
      Joon1

      Comment

      Working...
      X