Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: Creating a unique identifier from a string and byte variable


From   n j cox <[email protected]>
To   n j cox <[email protected]>
Subject   Re: st: Re: Creating a unique identifier from a string and byte variable
Date   Tue, 03 Apr 2007 11:07:09 +0100

That is,

egen idchild = group(caseid bidx), label

is an alternative.

n j cox wrote:

-search identifier, faq- points clearly to an FAQ and that
in turn recommends -egen, group()- as a solution to this need.

FAQ . . . . . . . . . . . . . . . . . . . . . . Creating group identifiers
3/01 How do I create individual identifiers numbered
from 1 upwards?
http://www.stata.com/support/faqs/data/group.html

Nick
[email protected]
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index