Dear Paul,
Suppose you have 2 imputed datasets called ds1 and ds2. To get Clarify to
analyze these datasets, try the following
1. load ds1 or ds2 into memory by typing "use ds1"
2. run a model that clarify supports and specify the mi() option. If ds1
and ds2 are in your working directory, the command might look something
like this: "estsimp regress y x1 x2, mi(ds1 ds2)". If the datasets are
not in your working directory you will need to specify the full path, e.g.
"estsimp regress y x1 x2, mi(c:\mydata\ds1 c:\mydata\ds2)". Clarify will
report the parameter estimates and standard errors, based on the imputed
datasets.
3. To set the x's (or to get summary statistics for the imputed datasets),
use the setx command. Setx will remember the locations of the imputed
datasets that you specified at the estsimp stage. For example, "setx
mean" would set x1 and x2 to their means, again based on all the imputed
datasets. If you want to see actual numerical values of those means, type
"setx" by itself (after running "setx mean") and clarify will list out the
means for each x.
Hope this answers your question. Thanks for your interest in clarify.
- Mike
Michael Tomz, Assistant Professor Phone: 650-725-4031
Department of Political Science Fax: 650-745-2765
Encina Hall, Stanford University tomz(a)stanford.edu
Stanford, CA 94305-6044
=====================
On Wed, 3 Apr 2002, Paul Warwick wrote:
Hi Gary,
Thanks, but I'm still a little puzzled. I take it that estsimp will
calculate the means and SE's without specifying any modelname or any
variables. Is this correct? I can't find out for myself because I can't
get estsimp to find the imputed files. Without specifying a complete
path, I don't know how to get Stata to find them. I've tried everything I
can think of, but Stata seems to want something more or different. What's
the key?
Best wishes,
paul
clarify mailing list served by Harvard-MIT Data Center
List Address: clarify(a)latte.harvard.edu
Subscribe/Unsubscribe: http://lists.hmdc.harvard.edu/listis.cgi?info=clarify
How do I access the quantities simulated by simqi? I had assumed that it
was a rclass program, but when I request the return list I only get
r(printed) and I don't seem to be able to access its value. I want to
post the results to a separate file for graphing purposes. The example
in the documentation uses the saved predicted values from genpr(), but I
am not clear on the relationship between the values set by setx and the
saved expected values (I am using a nbreg model). The expected values
are different for each case, so I assume they are based on the values of
the cases rather than the values set by setx.
Owen Abbe, Research Fellow
Center for American Politics and Citizenship
University of Maryland
1108 Tawes Building
College Park, Maryland 20742
301-405-9722 (Tel)
301-314-2532 (Fax)
www.capc.umd.edu
clarify mailing list served by Harvard-MIT Data Center
List Address: clarify(a)latte.harvard.edu
Subscribe/Unsubscribe: http://lists.hmdc.harvard.edu/listis.cgi?info=clarify