Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Utility for clarify


From   Fred Wolfe <[email protected]>
To   [email protected], [email protected]
Subject   st: Utility for clarify
Date   Sat, 28 Sep 2002 10:27:02 -0500

Frustrated a little by the difficulty of running -clarify- with multiple variables and many multiples of setx, particularly involving Stata's xi prefix, I have written a wrapper for the clarify series that automates this process.

The program and help files are available from Stata (thanks to Kit Baum) by typing -ssc install qsim-


Title: QSIM

qsim provides a wrapper for the clarify series of program that automates simulation , particularly with dummy variables produced by Stata's xi prefix.

Without qsim each of the 3 clarify programs has to be run separately for each level of the xi: categorical variable. qsim can be placed into one or more foreach loops and a large series of
simulations can be run at one time.

The output can be pasted into a text editor. Marking E( or Pr( identifies the line with the simulation data output. This line then can be cut to Excel (or similar programs) to make an output table. The whole process takes less than a minute.

Fred Wolfe





---------------------------------------------------------------------------- ------------------------
Fred Wolfe Tel (316) 263-2125
National Data Bank for Rheumatic Diseases Fax (316) 263-0761
Wichita, Kansas [email protected]
---------------------------------------------------------------------------- -------------------------

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