Announcement

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

  • Access to full estimated coefficients in postestimation of panel regression?

    Dear all,

    I want to use estimated coefficients(say beta hat) as a new variables in the other regression in panel analysis.

    Say y = beta_1 + beta_2 x + e

    after simple panel regression(ex. xtreg), we obtain hat(beta_2) in a result matrix. But I want to access and list all estimated coefficients of beta_2 hat. For instance, if the number of observation is 400, I want to see all 400 beta_2s estimated.

    I've searched for hours and find some hints from predict or preserve commands, but all of these taught me how to get fitted values or residuals.

    Thanks,

    Jong

  • #2
    Why do you think there would be 400 coefficients on x? There are interactions in your model as it is written.

    Comment


    • #3
      Jong:
      welcome to this forum.
      You cannot have 400 coefficients, but 400 predicted values.
      Last edited by Carlo Lazzaro; 10 Feb 2023, 15:39.
      Kind regards,
      Carlo
      (Stata 19.0)

      Comment

      Working...
      X