Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

RE: st: Transition probability for each year in a Panel Data


From   Rituparna Basu <basur@pamfri.org>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Transition probability for each year in a Panel Data
Date   Thu, 26 Apr 2012 22:31:35 +0000

Thank you Nichols! It worked.

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Austin Nichols
Sent: Thursday, April 26, 2012 12:16 PM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: Transition probability for each year in a Panel Data

Rituparna Basu <basur@pamfri.org>:
See e.g.
http://www.stata.com/statalist/archive/2011-04/msg01110.html

webuse nlswork, clear
g lmsp=l.msp
la var lmsp "lag"
ta msp lmsp, col
ta msp lmsp if year==69, col


On Thu, Apr 26, 2012 at 2:48 PM, Rituparna Basu <basur@pamfri.org> wrote:
> Dear Statalist scholars,
>
> I have a time variant variable that indicates status of a person from 2006-2011. How can I identify, let's say, how many of them moved from status 'x' to status 'y' or status 'z' or status 'a' (any status) from 2006-2007 or stayed at status 'x'?
> The 'xttrans' command simply says how many transitioned from one group to other but there is no information on what happens at each time point. The variable Status has 8 categories.
>
> Any thoughts is very much appreciated!
>
> Thanks a lot for your time!
>
> Regards,
> RB
*
*   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/

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index