Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: -egenmore- updated on SSC


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: -egenmore- updated on SSC
Date   Mon, 23 Sep 2002 19:42:03 +0100

Thanks to Kit Baum, the -egenmore- package has been 
updated on SSC. Install in an up-to-date Stata by 

. ssc inst egenmore 

or 

. ssc inst egenmore, replace 

as the case may be. If that last sentence 
is gibberish, please consult the first 
URL under my signature. 

-egenmore- includes various user-written 
-egen- functions by various hands: Kit Baum, 
Steven Stillman and Nick Winter contributed code
in addition to myself as maintainer. 

The addition is a single function, -sieve()-, 
for working with string variables. 
It requires Stata 7. (Most functions
in -egenmore- require only Stata 6.) 

Given a string variable strvar the 
result of 

. egen newvar = sieve(strvar) 

is a new string variable containing characters 
from strvar. Depending on the syntax, 
you can select classes of characters 
or keep or omit specified characters. 

This function grew out of a discussion 
with Stata user Jerry Wright of Indiana 
U. 

Other user-written -egen- functions may 
be identified by 

. findit egen 

Nick 
n.j.cox@durham.ac.uk 
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index