Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: string and numeric under one field


From   Richard Goldstein <richgold@ix.netcom.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: string and numeric under one field
Date   Tue, 13 Jul 2010 21:07:55 -0400

although you cannot, in Stata, give a label to ".", you are allowed to
label the extended missings (.a, etc.); so, I would make the "N/A" into,
say, .a and label it to be "N/A"

of course, since you don't say why you want this, I don't know whether
this will do what you want

Rich

On 7/13/10 5:19 PM, keeler james wrote:
> Dear Statalist,
> 
> I wonder if the numeric and string characters can be mixed under one field (e.g. the 'Marks' see below)?
> 
> Marks
> N/A
> 35
> 88
> 40
> 20
> N/A
> 
> this is what excel can do, but not too sure if it is possible in Stata. Any help would be appreciated.
> 
> Calchas
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index