Announcement

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

  • Regarding generating year-sum for each variable

    Dear,

    I have a question.

    I have a panel data looks like below.

    Code:
    input str10
     country       year  x     y
    "Indonesia" 1990 24   36
    "Indonesia" 1991 28   22
    "Korea"       1990 38   27
    "Korea"       1991 42   73
    "China"       1990 124 458
    "China"       1991 12   24
    end
    I'd like to generate sum for each year of each variable from 1990 to 2014 and want to plot them.
    Would you help me to do these?

    Best,
    Woosung


  • #2
    You have accidentally posted your topic in Statalist's Mata Forum, which is used for discussions of Stata's Mata language, which is different than Stata's command language. Your question will see a more appropriate and much larger audience if you repost it in Statalist's General Forum.

    Comment

    Working...
    X