<>
" I guess if I
wanted I could just iterate through the vector and write to an ASCII
file to have "cleaner" output. In the end, I might end up writing a
program that does just this (or looking for one already written), once
I have a better idea of the capabilities, syntax, and what's already
out there."
If you want your varcov in an ASCII file, nothing could be easier, without
-mata- involvement:
*******
sysuse auto, clear
reg price weight length
capt which estout
if _rc ssc install estout
esttab e(V) using myfile.txt, replace
!start myfile.txt
*******
HTH
Martin
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Skipper Seabold
Sent: Freitag, 18. Dezember 2009 19:54
To: [email protected]
Subject: Re: st: RE: RE: AW: Taking mata views of ereturn stats?
On Fri, Dec 18, 2009 at 1:42 PM, Martin Weiss <[email protected]> wrote:
>
> <>
>
> " without the row labels and the "box", ie., purely numeric (possibly
> even a rowvector"
>
>
> You can simply transpose it, of course: Just type "se'" in -mata-. But
your
> wish makes me wonder: What do you ultimately want to do with the standard
> errors?
>
Well, since you ask... the standard errors I just threw in as an
example since it seemed to need a few different commands.
I guess my ultimate goal is twofold, to learn more about mata (like I
said, fairly used to stata and other matrix languages, but obviously
not mata, and I'm a bit tired of always going back and forth) and
while I'm doing this I am checking some estimators I've written in
another language for correctness and numerical accuracy. So right now
I'm copying and pasting some vectors and matrices. I guess if I
wanted I could just iterate through the vector and write to an ASCII
file to have "cleaner" output. In the end, I might end up writing a
program that does just this (or looking for one already written), once
I have a better idea of the capabilities, syntax, and what's already
out there.
Skipper
*
* 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/