Greetings,
I am currently analyzing a strongly balanced panel and I need to extrapolate a variable based on its strong dependency on another variable in my dataset. Normally, I have 2000-2014 data for each country, but in some cases I only have 2009-2014 data.
My code is:
corr GDPperCapita M3
ipolate M3 GDPperCapita, generate(M3_ipolate) epolate
However, looking at the results I obtained and searching through the explanation of the ipolate and epolate commands, I am unsure whether Stata understands that there is an existing panel trend that it should use when computing the extrapolation (meaning, that I have Countries and for each country I have 2000-2014 data - of course my data are xtset).
Thanks in advance for your help!
I am currently analyzing a strongly balanced panel and I need to extrapolate a variable based on its strong dependency on another variable in my dataset. Normally, I have 2000-2014 data for each country, but in some cases I only have 2009-2014 data.
My code is:
corr GDPperCapita M3
ipolate M3 GDPperCapita, generate(M3_ipolate) epolate
However, looking at the results I obtained and searching through the explanation of the ipolate and epolate commands, I am unsure whether Stata understands that there is an existing panel trend that it should use when computing the extrapolation (meaning, that I have Countries and for each country I have 2000-2014 data - of course my data are xtset).
Thanks in advance for your help!
Comment