Statalist The Stata Listserver


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

st: New -marktouse- package available from SSC


From   "Ben Jann" <[email protected]>
To   statalist <[email protected]>
Subject   st: New -marktouse- package available from SSC
Date   Tue, 29 May 2007 17:11:23 +0200

Thanks to Kit Baum, a new package called -marktouse- is available from
the SSC Archive.

-marktouse- creates a 0/1 marker variable recording which observations
are to be used in an analysis. This is useful if you want to ensure
that all commands use the same observations. The procedure is to
create the marker variable at the beginning of an analysis and then
include -if <markvar>-  in all subsequent commands (where <markvar>
stands for the name of the marker variable).

While marking the observations to be used is a standard task in
programming (see -help marksample-), there exists no handy command for
this in do-files or in interactive mode (see Jann, in press).
-marktouse- fills this gap.

To install the package, type

. ssc install marktouse

ben

Jann, B. (in press). Stata tip 44: Get a handle on your sample. The
Stata Journal 7(2).
*
*   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