Announcement

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

  • Adding lags&leads to xtreg

    Hi, my estimation is as follows:

    Code:
    xtset municipality year
    Code:
    xtreg housevalue RC i.year population nrofhouses, robust
    It is an event study where RC is a dummy that takes the value 1 if the municipality has an RC in that year and zero if it does not. The first treatment year varies and some municipalities never get an RC.
    Could anyone help me with I adding lags and leads to this estimation (6 each)?
    Afterwards, I want to save the lag & lead estimates and use coefplot to make a graph with them. Any help with this is also appreciated.

    Thank you very much for your help!

  • #2
    your question is not completely clear to me, but you should read:
    Code:
    help tsvarlist

    Comment

    Working...
    X