Search found 2 matches
- Mon Sep 02, 2013 3:56 am
- Forum: Data Manipulation
- Topic: Is there an @elem() commmand for panel data?
- Replies: 6
- Views: 7080
Re: Is there an @elem() commmand for panel data?
Yes! thank you. I think this will work (but you should double-check). The denominator computes the sums-by-year for GDP, but only for the specified country so that you'll get just the GDP for the US in each year series y = 100*gdp/@sumsby(gdp, year, "@all if countrycode=""USA"&qu...
- Fri Aug 30, 2013 12:12 pm
- Forum: Data Manipulation
- Topic: Is there an @elem() commmand for panel data?
- Replies: 6
- Views: 7080
Re: Is there an @elem() commmand for panel data?
Following up on your suggestion. I would like to create an index relative to the date variables of an element in the panel. For example, a series GDP relative to the GDP of the United States for each year. Something like "series y = 100*gdp/@(gdp, countrycode="USA", 1950 2000)." ...
