[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: how to create yearly lag in monthly data
If data are tsset, L12.x should work properly in any event, but if
you want to do what Clive suggests, help tsfill.
Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html
On May 4, 2006, at 2:33 AM, Clive wrote:
An obvious solution would be to create blank rows in your dataset,
if you
don't already have them, each of them indicating the month and year
of the
row. Using the lag operator should then work as intended.
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/