Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: string and numeric under one field
From
Richard Goldstein <[email protected]>
To
[email protected]
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/