Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: AW: how to access e(b) and e(V)


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: AW: how to access e(b) and e(V)
Date   Tue, 20 Oct 2009 11:37:46 +0200

<> 

Also note that [U], 18.9. covers this subject. 

If you want the output in a spreadsheet software (do not mention the e-word
on the list...), you can of course use Ben Jann`s -ssc d estout-


*************
sysuse auto, clear

reg we pr le tu
ereturn list
matrix A= e(b)
matrix B=e(V)

capt which esttab
if _rc ssc inst estout

esttab matrix(A)  /* 
*/ using myfile.csv,  /* 
*/ replace plain
esttab matrix(B)  /* 
*/ using myfile.csv,  /* 
*/ append plain

!start myfile.csv
*************

Do not ask me about the accuracy thing, though...


HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von
Philomela@gmx.net
Gesendet: Dienstag, 20. Oktober 2009 11:26
An: statalist@hsphsun2.harvard.edu
Betreff: st: how to access e(b) and e(V)

Dear all, 



I would like to export the coefficient matrix and the variance covariance
matrix into excel to do some calculations-i need very exact values, so i
can't use the output. Where does Stata store these matrices and how can I
access them?

Thank you!
Philomela
-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
*
*   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/


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index