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

st: RE: help

From   "Gustavo Sanchez" <>
To   <>
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


-----Original Message-----
[]On Behalf Of tanghongyang
Sent: Thursday, August 05, 2004 5:47 AM
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;
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


*   For searches and help try:

*   For searches and help try:

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