Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: how to use command to obtain the coefficient in a regression?


From   "Poro Zhang" <conantiancai_stata@163.com>
To   statalist <statalist@hsphsun2.harvard.edu>
Subject   st: how to use command to obtain the coefficient in a regression?
Date   Wed, 25 Apr 2012 07:11:13 +0800 (CST)

Dear all:
I am using "Program Define" to do Monte Carlo Simulation for regression. I want to repeat the simulation for 10000 times and test whether the mean of the coefficient_hat equals the true value. However, I just cannot find the e(class) for the coefficient to complete the command " return scalar XXX=XXX"
Yours --------------------------
Poro M. Zhang
Zhongnan University of Economics and Law
182# Nanhu Avenue, East Lake High-tech Development Zone,
Wuhan 430073 P.R.China
http://www.znufe.edu.cn
-------------------------- 
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index