Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: Detach value label from string var

From   "Kaulisch, Marc" <>
To   <>
Subject   st: Detach value label from string var
Date   Tue, 6 Apr 2010 15:32:16 +0200

Another problem I cannot solve myself:
By importing a dataset all variables get label values attached - also
string vars. This leads to "string vars with embedded blanks" by
codebook, p.

For numeric vars with empty value labels I used:
. label values `r(labelnotfound)' .

. label values `r(str_embedded)' .
does not work. 

I even can not do this via the Variables Manager. Any idea how to do

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index