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" <>
To   statalist <>
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


Jann, B. (in press). Stata tip 44: Get a handle on your sample. The
Stata Journal 7(2).
*   For searches and help try:

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