I am working with a panel of countries for which I have several missing values, especially for the inequality and distribution variables. I am attempting to extrapolate the values that fall before/after the data coverage period, and reading the different blog posts I have found that I could use the epolate command combined to the ipolate one. However, whenever I do so, the values before the data coverage period are put in ascending order (instead of the reverse, which would make more sense). Here's the code for the variable MC1 (Middle-Class) which I am trying to extrapolate:
ipolate MC1 year, generate(iMC1) epolate
I have attached an image of the results I get (with MC1 being the variable to interpolate and iMC1 the end result of this command). I am aware that there are other interpolation methods (which I have tried, such as csipolate, cipolate), but I don't know of any other extrapolation command.. Is there any, or does it have to be a code/loop? I have found a similar question on a blog, which was left unanswered, I hope this is not too repetitive.
ipolate MC1 year, generate(iMC1) epolate
I have attached an image of the results I get (with MC1 being the variable to interpolate and iMC1 the end result of this command). I am aware that there are other interpolation methods (which I have tried, such as csipolate, cipolate), but I don't know of any other extrapolation command.. Is there any, or does it have to be a code/loop? I have found a similar question on a blog, which was left unanswered, I hope this is not too repetitive.
Comment