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

st: String or numeric variable hours?

From   Phil Bardsley <>
Subject   st: String or numeric variable hours?
Date   Sun, 19 Sep 2004 12:17:45 -0400


The fact that you were able to summarize the variable and get other than 0 obs indicates it is a numeric variable. As another reply suggested,
-ta hours, nolabel-
will tell you the actual values (as did your summarize command).

If you
-describe hours-
you'll see a value label name associated with the variable under the column heading "value label". You can then
-label list <name>-
to see the values that have the label associated with them, where <name> is the value label name (without the brackets). If you don't want the label you can
-label drop <name>-
to get rid of it.

. by secnum: sum hours

-> secnum = 1 cathy

Variable | Obs Mean Std. Dev. Min Max
hours | 1 89 . 89 89
Phil Bardsley
Carolina Population Center

* For searches and help try:

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