Dear Stata users,
I have stata 8.2 for windows. I would like to edit the
variance matrix e(V) after a linear regression, ereturn
repost, seems to be the right command. I do not manage to use
it correctly. See the log :
. capture program drop foo2;
. program foo2, eclass;
1. matrix bmat = e(V);
2. matrix bmat[1,1] = 122;
3. ereturn repost V = bmat;
4. end;
. sysuse auto;
(1978 Automobile Data)
. quietly regress price mpg weight;
. matrix list e(V);
symmetric e(V)[3,3]
mpg weight _cons
mpg 7422.863
weight 44.601659 .41133468
_cons -292759.82 -2191.9032 12938766
. foo2;
last estimates not found
any idea why?, thank you very much for your help !
nicolas
Acc�dez au courrier �lectronique de La Poste : www.laposte.net ;
3615 LAPOSTENET (0,34 �/mn) ; t�l : 08 92 68 13 50 (0,34�/mn)
*
* 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/