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" <[email protected]>
To   <[email protected]>
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: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Caleb Southworth
> Sent: Wednesday, September 06, 2006 7:55 PM
> To: [email protected]
> 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index