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/