Announcement

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

  • mitigate against the potential problem of life-cycle effects

    Dear Stata community,

    My data is panel data, and the independent variable is available only in the last year, so it's time invariant. In order to mitigate against the potential problem of life cycle effects influencing the independent variable, I have to condition it Tj on a polynomial in age A, i.e. Tj = hjA + ej. The resulting residuals are standardised and used as indicators of independent variable net of life cycle influences. The following is my code, is it right? I couldn't be more appreciate if you can give me details.

    Code:
    reg Openness age
    predict r_O, res
    norm r_O,method(zee)
    Last edited by Mindy Green; 25 Sep 2022, 04:45.

  • #2
    what is the -norm- command and where did you get it?

    Comment


    • #3
      Originally posted by Rich Goldstein View Post
      what is the -norm- command and where did you get it?
      I think just "ssc install".

      Comment

      Working...
      X