Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: help


From   "Gustavo Sanchez" <[email protected]>
To   <[email protected]>
Subject   st: RE: help
Date   Thu, 5 Aug 2004 15:49:48 -0500

-ereturn post- needs to have both the mean and the variance included in the
command.

Gustavo

-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of tanghongyang
Sent: Thursday, August 05, 2004 5:47 AM
To: [email protected]
Subject: st: help


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/


*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index