Announcement

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

  • Drop the first two years of data for each firm

    Hello! Each firm in the data have several years. I need to drop the first two years of the firm. How can I do this? (fyear and firms)

    Thank you

    Attached Files

  • #2
    Varvara:
    you may want to try:
    Code:
    bysort firm (fyear): drop if _n<=2
    Kind regards,
    Carlo
    (Stata 19.0)

    Comment

    Working...
    X