Hello all,
I have a panel data, with a timeline from (1985-2020) with 217 countries and I'm trying to draw a chart highlighting GDP growth rates "growth" over time "year" but only from 1986-1996, since I have some missing observations (after the count only 58 countries have the observations for the sought out timeline)
The main idea here is highlighted in the picture below. For every country (if data are available) I want to draw the country's growth and a fitted line for it. (Germany's example below)
I've added "countryid" column to assign a specific number for each country I have, I've looked into dataex help but didn't fully understand how to apply that in my case.
I was advised to include these into my dataex command countryid, year, growth, and the country with their full names (I did find that odd since I'm already using the countryid):
dataex if inrange(countryid 157, year 1986, 1996, growth 1986, 1996, Poland)
Any suggestions are appreciated!
Thanks

I have a panel data, with a timeline from (1985-2020) with 217 countries and I'm trying to draw a chart highlighting GDP growth rates "growth" over time "year" but only from 1986-1996, since I have some missing observations (after the count only 58 countries have the observations for the sought out timeline)
The main idea here is highlighted in the picture below. For every country (if data are available) I want to draw the country's growth and a fitted line for it. (Germany's example below)
I've added "countryid" column to assign a specific number for each country I have, I've looked into dataex help but didn't fully understand how to apply that in my case.
I was advised to include these into my dataex command countryid, year, growth, and the country with their full names (I did find that odd since I'm already using the countryid):
dataex if inrange(countryid 157, year 1986, 1996, growth 1986, 1996, Poland)
Any suggestions are appreciated!
Thanks
Comment