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

Re:st: classification problem

From   "Nick Cox" <>
To   <>
Subject   Re:st: classification problem
Date   Fri, 15 Aug 2003 11:00:42 +0100

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. 

*   For searches and help try:

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