. gen qes5r = real(qes5)
type mismatch
r(109);
. sum qes5
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
qes5 | 105 1.809524 .7480132 1 8
It looks like qes5 is a number not a string. Try -describe- to see. And
you can have your table without the value labels -tab qes5, nolabel-
If "na" is not the desired label for both values, see label define, and to
have a look at your current labels -lab list-
Caleb
[email protected]
University of Oregon Sociology
*
* 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/