Dear All,
I have a panel data set 1997-2011 (continous variables only) and would like to set an initial value of variable, for example here initial value of road infrastructure. What I understand is that I type this code:
sort country year
bys country: gen road_ini= roadinfra[1]
and the result is that, for each year (from 1997 to 2011), one country has the same initial values of road infrastructure, which is the value of that of 1997. Which seems logic to me.
But when I see an example of panel data on growth regression, initial value gdp for the same country differs for every year. In my understanding, it should be the case that for one country, the initial value of gdp is the same for every year since it refers to the value of that of the first year of observation.
Could someone explain me this ?
Thanks
I have a panel data set 1997-2011 (continous variables only) and would like to set an initial value of variable, for example here initial value of road infrastructure. What I understand is that I type this code:
sort country year
bys country: gen road_ini= roadinfra[1]
and the result is that, for each year (from 1997 to 2011), one country has the same initial values of road infrastructure, which is the value of that of 1997. Which seems logic to me.
But when I see an example of panel data on growth regression, initial value gdp for the same country differs for every year. In my understanding, it should be the case that for one country, the initial value of gdp is the same for every year since it refers to the value of that of the first year of observation.
Could someone explain me this ?
Thanks
Comment