Announcement

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

  • Adding series to a panel data



    Dear friends, I am working on a panel of data including the years between 2000 and 2018. I want to extend this data to 2020 (including additional years for 2019 and 2020). How can I add additional panel years for each unit?

    My Data:

    Afghanistan 2000 Value1
    Afghanistan 2001 Value2
    .
    .
    .
    .
    Afghanistan 2018 Value19

    What I want to have:

    Afghanistan 2000 Value1
    Afghanistan 2001 Value2
    .. . .
    .
    .
    .

    Afghanistan 2018 Value19
    Afghanistan 2019 .......
    Afghanistan 2020 .......
    Last edited by Nihat Mugurtay; 19 Apr 2022, 08:51.

  • #2
    Nihat:
    see -expand- (plus some necessary tweaks).
    Kind regards,
    Carlo
    (StataNow 18.5)

    Comment


    • #3
      Dear Carlo,

      Thank you so much,

      I will check your point.

      Best Regards,

      Comment

      Working...
      X