Hi,
I have real per capita income for Boston and New York Metropolitan Statistical Area (MSA).
Ideally, I would like to assign the current yearly value to a mid year quarter (say 2 or 3) and fill in the missing quarters with linear fitted values(say using ipolate command). Furthermore, I would like to extrapolate the linear fitting upto 2016 quarter 1.
However, I am not sure what is the best method to convert this to quarterly data. Any suggestions would be highly appreciated.
I have real per capita income for Boston and New York Metropolitan Statistical Area (MSA).
Ideally, I would like to assign the current yearly value to a mid year quarter (say 2 or 3) and fill in the missing quarters with linear fitted values(say using ipolate command). Furthermore, I would like to extrapolate the linear fitting upto 2016 quarter 1.
However, I am not sure what is the best method to convert this to quarterly data. Any suggestions would be highly appreciated.
Code:
Code:* Example generated by -dataex-. To install: ssc install dataex clear input int year long(pci_boston pci_newyork) 2001 64362 61332 2002 64223 61063 2003 65655 61044 2004 67421 62733 2005 68926 65390 2006 70115 67357 2007 71990 68173 2008 71445 65854 2009 69411 65627 2010 71696 67563 2011 72643 67187 2012 73815 68723 2013 72518 68421 2014 73595 69105 2015 74545 69971 end
Comment