Announcement

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

  • Restrictions years code

    Hi all, I have a data on my stata and I am needed to run data replicate table separately according to years to see the effects, from 2010-2015 and from 2016-2020, how can I command this year separately on stata while running ?

  • #2
    Code:
    reg y x if inrange(year, 2010,2015)
    reg y x if inrange(year, 2016,2020)

    Comment


    • #3
      Thank you alot

      Comment

      Working...
      X