Dear Michael,
Thanks for your help. They work!!! I deeply appreciate it. You are a
lifesaver. Of course, Amelia and Clarify are, too.
Vivien
On Sat, May 23, 2009 at 1:40 PM, Michael Tomz <tomz(a)stanford.edu> wrote:
Dear Vivien, thanks for your interest in Clarify. If
you want to see the
values that have been set by setx, simply type
setx
without any arguments. You'll get a full listing of values, which you can
copy and paste. The actual values are stored in a vector, mrt_xc. You can
use stata's built-in matrix commands to access the values of that vector and
do whatever you'd like to do with them.
Hope this helps
Michael Tomz
Stanford University
Vivien W. Chen wrote on 5/23/2009 11:57 AM:
Hi,
>
> I have a question about using Clarify module to calculate and output
> regression estiamtes and dsecriptive statistics (mean, min, max) for some
> independent variables from 5 imputed data files created by Amelia.
>
> Here is my code:
>
> use tm1,clear
> estsimp reg bmi black white hisp asian oth age wmom ses [pw=wt1], mi(tm1
> tm2 tm3 tm4 tm5)
> outreg using r1, 10pct se nocons replace
> setx mean [aw=f1qwt] if male==1
> setx min [aw=f1qwt] if male==1
> setx min [aw=f1qwt] if male==1
>
> I was able to run those codes successfully (which means without error
> messages). But I could only output the estimates from regression by using
> -outreg- after -estsimp-. How could I access to the output values from using
> -setx-? Is there a way for me to output those descriptive statistics values?
>
> Best,
> Vivien
>
>
>
>
--
A man is not old until regrets take the place of dreams.