Date: Fri, 22 Jan 2010 12:29:49 +0100
Reply-To: Daniel Fernández <fdezdan@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Daniel Fernández <fdezdan@GMAIL.COM>
Subject: Re: Lag function-quarterly data
In-Reply-To: <201001221115.o0MAoBgu027680@malibu.cc.uga.edu>
Content-Type: text/plain; charset=ISO-8859-1
hi,
how mnay lags you want? Do you compare 1974Q3 to 1974Q2 ? Or 4 quarters a year?
Daniel
2010/1/22 SAS user <sasuser4@googlemail.com>:
> Here is a sample of my data; I have around 600,000 observations
> ID yearqtr variable1 variable2
> 006 1974Q4 200 300
> 006 1974Q3 100 153
> 006 1974Q2 360 256
> 006 1974Q1 256 369
> 006 1975Q4 369 257
> 006 1975Q3 596 589
> 006 1975Q2 965 125
> 006 1975Q1 259 789
> 005
>
>
> etc
>
>
>
> 004
>
> etc
> Any suggestions will be greatly appreciated.
>
|