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

st: -egenmore- updated on SSC


From   "Nick Cox" <[email protected]>
To   <[email protected]>
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 
[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