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]

st: identifying change in cell values


From   Adeel Yousaf <townplanneradeel@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: identifying change in cell values
Date   Fri, 15 Mar 2013 09:53:55 +0800

Hi,

I applied the  'tag' command that is detecting new values, how can i
detect change in the value of 'coded' either repeating or new.

 egen tagcoded = tag( coded)


coded	tagcoded
24	1
24	0
28	1
27	1
27	0
27	0
27	0
27	0
28	0
22	1
22	0
24	0
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index