Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: lag vars


From   Sabrina Carrossa <[email protected]>
To   [email protected]
Subject   Re: st: lag vars
Date   Tue, 15 Feb 2011 14:35:17 +0100

Dear all,

I I found the solution:
- poverty status in time 0--> by pid: gen poor0 = poor[1] // poverty
status at start

Thanks!

On 15 February 2011 13:23, Sabrina Carrossa <[email protected]> wrote:
>
> Dear all,
>
> I have a three waves panel Db:
> 2004 (t0)
> 2005 (t1)
> 2006 (t2).
>
> I wish to use a probit model (xtprobit) to analyze the TSD of poverty,
> and I need to specify some lagged variables such as:
> - the lagged poverty status
> - the poverty status in time 0
> - the current employment status (employed or not)
> - the employment status in t2
>
> I know that I can refer to the lagged poverty status by typing:
> "l.poor", but what about the other variables?
> Should I compute them by gen/egen commands? Is there a more handy and
> quick way to obtain them?
>
> Thanks. Any suggestions would be greatly appreciated!!!
>
> --
> sabrina



--
sabrina
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index