Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: simple method to identify string variables?


From   David Radwin <radwin@berkeley.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Re: simple method to identify string variables?
Date   Fri, 7 Sep 2007 13:54:03 -0700

Thanks Michael. That does the trick.

David

At 2:46 PM -0400 9/7/07, Michael Blasnik wrote:
...
The easiest way may be:

ds, has(type numeric)
local numvars "`r(varlist)'"
mean `numvars'
--
David Radwin, Principal Analyst // radwin@berkeley.edu
Office of Student Research, University of California, Berkeley
*
*   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/



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