Howard Burkom
> My dataset has a column consisting of many strings.
> I also have a text file with a table that groups
> these strings into 15 categories. Can anyone
> suggest a Stata method of forming a new column that
> gives the category number of each string?
Read the text file to make another dataset and
then use -merge-. [R] merge gives relevant examples.
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/