[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: st:how to create yearly lag in monthly data?
This is indeed a simple solution, if not
obvious. But it's quite unnecessary and
just inflates the dataset needlessly.
As said, the apparatus will do the right
thing regardless of whether the gaps
are explicit or implicit.
> Badri Narayanan wrote:
> > Thanks for the clarification, but my data is unbalanced panel and
> > hence if I give L12 for say, December 1995, the resultant
> variable may
> > as well be October 1994, since data for some months nay be missing
> > altogether. Is there anyway out, given this fact?
> 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: