@dtoo in a pool
Posted: Mon Feb 16, 2009 9:03 am
Hallo,
I want to use the @dtoo command in a pool. Is this possible? (I only get error messages :( )
Context: I want to calculate the growth rate log(Y_2008) - log(Y_1950) in a pool (gdp series for different countries in the sample 1950 - 2008). In order to do the calculations I tried to get the value of the series in 2008 with the @dtoo command. However, this seems to be not possible in a pool... Does someone knows another way to solve this?
My code:
pool all _ALB _DZA _AGO _ARG
all.genr grow? = log(y_?(@dtoo("2008"))) - log(y_?(@dtoo("1950")))
Thanks!
I want to use the @dtoo command in a pool. Is this possible? (I only get error messages :( )
Context: I want to calculate the growth rate log(Y_2008) - log(Y_1950) in a pool (gdp series for different countries in the sample 1950 - 2008). In order to do the calculations I tried to get the value of the series in 2008 with the @dtoo command. However, this seems to be not possible in a pool... Does someone knows another way to solve this?
My code:
pool all _ALB _DZA _AGO _ARG
all.genr grow? = log(y_?(@dtoo("2008"))) - log(y_?(@dtoo("1950")))
Thanks!