Announcement

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

  • Histogram, controlling for year fixed effects

    Hi,

    I want to plot a histogram of starting wages of some employees. However, I would like to account for the year FEs when I do so.
    How can I do that?
    Would it work to run a regression of starting wages on i.year and save and deduct the fixed effects from the starting salaries?

    Thanks!

    Best,
    Negar

  • #2
    Or just subtract the mean for each year?

    Comment


    • #3
      Originally posted by Nick Cox View Post
      Or just subtract the mean for each year?
      Yes! Now I found out I can just plot the residuals too.
      Thanks!!

      Comment

      Working...
      X