Announcement

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

  • Error when using outreg2 with .doc

    While using the CollegeDistance dataset provided at http://wps.aw.com/aw_stock_ie_3/178/....cw/index.html , I am trying to put in the command:

    reg ed dist, robust
    outreg2 using E73b.doc, dec(3)title(Exercise7.3B)ctitle(ModelA)

    The regression works perfectly, but when I try to do the outreg2 command I keep getting an error that says file E73b.txt could not be opened r(603)

    I'm not sure what I'm doing wrong.

  • #2
    Sofia, that might be a problem with your current directory. before you are running the outreg2 change the directory to place you have a permission to write. e.g,
    Code:
    cd "D:\My Documents"

    Comment


    • #3
      Thank you so much Oded! After I changed the directory I had no problem with the command!

      Comment

      Working...
      X