Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Argyn Kuketayev <akuketayev@mail.primaticsfinancial.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | st: xttrans frequency sampling |
Date | Mon, 30 May 2011 20:36:02 -0400 |
Hello I have the dataset: === item, month, state 1,1,0 1,2,0 1,3,1 2,1,0 2,1,1 ... === I declare the xtset item month then run xttrans state This runs fine for the delta=1. How can I make it ruin for delta=12 or 3? I can do this: keep if mod(month,12)==0 However this would run the xttrans on 1/12 of my sample. I'd like to see the transitions between months 1 and 13, 2 and 14 all together etc. cheers -- Argyn Kuketayev * * 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/