Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[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" <[email protected]>
To   statalist <[email protected]>
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index