Statalist The Stata Listserver


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

st: RE: inconsistent behavior of -ds-


From   "Scott Merryman" <smerryman@kc.rr.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: inconsistent behavior of -ds-
Date   Wed, 6 Sep 2006 20:55:16 -0500

The -ds, has(type #/#)- is referring to the storage type, which for your
data set varies from str10 to str80.  Consequently, the -return list- for
-ds, has(type 2/8)- will be empty.

Scott

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-
> statalist@hsphsun2.harvard.edu] On Behalf Of Caleb Southworth
> Sent: Wednesday, September 06, 2006 7:55 PM
> To: statalist@hsphsun2.harvard.edu
> Subject: st: inconsistent behavior of -ds-
> 
> I have been using -ds- to identify r(varlist) and then loop through those
> variables. However, I am puzzled by the behavior of -ds, has(type #/#)-
> syntax.


*
*   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