Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Avplot lagged values


From   "Clive Nicholas" <[email protected]>
To   [email protected]
Subject   Re: st: Avplot lagged values
Date   Mon, 8 Sep 2008 21:51:55 +0100

Ashim Kapoor wrote:

> Hello everyone,
>
> The following works fine : -
>
> regress ygdpagk braints , robust
>
> avplot braints , mlabel(year)
>
> now I want avplot l1.braints , mlabel(year)
>
> but this gives me an error.
>
> Could someone tell me how to fix this ?

Easy: create the lagged variable first by

. gen lagbraints=l.braints

and then run that through -avplot-.

-- 
Clive Nicholas

[Please DO NOT mail me personally here, but at
<[email protected]>. Please respond to contributions I make in
a list thread here. Thanks!]

"My colleagues in the social sciences talk a great deal about
methodology. I prefer to call it style." -- Freeman J. Dyson.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index