Dear Sir or Madam:
when I am using stata 8, I meet a big trouble. How to post the result(including matrix e(b)) of nl to another file of dta?
I want to compare the coefs. Could you help me? thanks a lot in advance. below is a part of the program .
forvalues n=1 (1) 19 {
# delimit;
clear;
insheet using temst.csv;
destring v2,gen(ytm) ignore("%") force;
keep v8 ytm v4;
encode v8,gen(date);
gen cat=group(date);
sort cat;
drop if cat>19;
keep if cat==`n';
#delimit cr
nl trifuna ytm v4
((matrix `b'=`e(b)'
display b
ereturn post `b' )) /*it does not work.*/
}
postclose results
����������������tanghongyang
����������������[email protected]
��������������������2004-08-05
*
* 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/