Announcement

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

  • Linear regression - error term

    Dear all,

    I am trying to replicate the following variable as control for my dataset:

    Click image for larger version

Name:	excess cash2.PNG
Views:	1
Size:	100.4 KB
ID:	1588004

    After running the regression I can use predict resid, resid, followed by list resid in order to get the error term for each observation. Is there command to use this data output and generate the ExcessCash variable?

  • #2
    The variable resid you created is the variable you want.
    ---------------------------------
    Maarten L. Buis
    University of Konstanz
    Department of history and sociology
    box 40
    78457 Konstanz
    Germany
    http://www.maartenbuis.nl
    ---------------------------------

    Comment


    • #3
      I see now, thank you. I didn't know Stata automatically adds it

      Comment

      Working...
      X