Hello,
I have a panel dataset that consists of 67 countries and I want to compute economic growth averaged in 5 year periods. I have data from 1989-2012 and through averaging I aim to get 5 observations per country such as 1989-1993 (1 obs), 1994-1998 (1 obs) ... and the last one consists only of 2009-2012.
So far I have tried manually to get the economic growth for 5 year periods as follows:
1) take logs of real GDP per capita
2) ln(1993)-ln(1989) divided with 4; ln(1998)-ln(1993) divided with 5 , ln(2003)-ln(1998) divided with 5... and for the last ln(2012) - ln(2008) divided with 4.
I have two questions:
1) Is this the correct way to compute growth averaged in 5 year periods?
2) what is the state command/commands that can give me the averaged data for economic growth?
Thank you!
I have a panel dataset that consists of 67 countries and I want to compute economic growth averaged in 5 year periods. I have data from 1989-2012 and through averaging I aim to get 5 observations per country such as 1989-1993 (1 obs), 1994-1998 (1 obs) ... and the last one consists only of 2009-2012.
So far I have tried manually to get the economic growth for 5 year periods as follows:
1) take logs of real GDP per capita
2) ln(1993)-ln(1989) divided with 4; ln(1998)-ln(1993) divided with 5 , ln(2003)-ln(1998) divided with 5... and for the last ln(2012) - ln(2008) divided with 4.
I have two questions:
1) Is this the correct way to compute growth averaged in 5 year periods?
2) what is the state command/commands that can give me the averaged data for economic growth?
Thank you!
Comment