Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Completely new version of -outreg-
From
Lucas Ferreira Mation <[email protected]>
To
[email protected]
Subject
Re: st: Completely new version of -outreg-
Date
Thu, 28 Jul 2011 15:07:40 -0300
Dear John, that is great news.
I´ve tested a little bit.
It is fast and word table looks good.
A few questions and comments:
1) for "two or more tables each iteration" what is not very intuitive
(at least being used to outreg2) is the program ignores the using
filename. For example:
sysuse auto, clear
reg mpg foreign
outreg using table1, merge
reg mpg foreign gear_ratio
outreg using table1, merge
reg price foreign
outreg using table2, merge
reg price foreign gear_ratio
outreg using table2, merge
table 2 output includes the fist 2 regressions. This can be corrected
by specifying the option:
merge(table1) in the first two regressions
merge(table2) in the 3r and 4th two regressions
however it would be ince to default the merge(tableX), in case it is
left unfilled, to obey the using filename.
2) i´m getting the same error as Eric Booth when creating a "tex" file:
. reg mpg foreign
. outreg using table3, tex
BegTex(): 3200 conformability error
FrmtOut(): - function returned error
<istmt>: - function returned error
r(3200);
3) can outreg be used for editing regression tables without been
preceded by a regression?
Lets say you only receive the regression outputs but have no access to
the database (due to secrecy constrains for example). Or re-estimating
everything just for re-formatting could take to long.
I imagine that this would require you to receive the underlying mata
matrix (or dta) of the outreg table. Than executing the outreg again
with the desired formatting and some "do not add additional column"
option.
(I´m sorry if this already is implemented. I´ve searched the help file
and statalist but did not find it)
4) Any ideas on how outreg and outreg2 will evolve/coexist? Unlike
outreg2, outreg version 4 does not produce "excel" and "dta" output.
Do you intend to integrate these features?
in any case thank you very much for providing this. I´ll keep testing.
Lucas
On Thu, Jul 28, 2011 at 2:25 PM, Ricardo Ovaldia <[email protected]> wrote:
>
> Okay. I restarted Stata and it now works.
> Kind of weird.
>
> Thank you,
> Ricardo
>
> Ricardo Ovaldia, MS
> Statistician
> Oklahoma City, OK
>
>
> --- On Thu, 7/28/11, Anders Alexandersson <[email protected]> wrote:
>
> > From: Anders Alexandersson <[email protected]>
> > Subject: Re: st: Completely new version of -outreg-
> > To: [email protected]
> > Date: Thursday, July 28, 2011, 11:35 AM
> > Yes, and this may include restarting
> > Stata.
> > I could reproduce the problem using a seemingly updated
> > version of
> > Stata 11.2/SE for Windows.
> > But when I restarted Stata I could no longer reproduce the
> > problem.
> >
> > Anders Alexandersson
> > [email protected]
> >
> > Richard Williams <[email protected]>
> > wrote:
> > > Works for me on Stata 11.2. As always, make sure
> > everything you have is up
> > > to date.
> >
> > Ricardo Ovaldia wrote:
> > >>
> > >> I tryed using the new -outreg-, but I get an
> > error.
> > >> Are there additional programs that I need to
> > download?
> > >>
> > >> . sysuse auto, clear
> > >> (1978 Automobile Data)
> > >>
> > >> . reg mpg foreign weight
> > >>
> > >> Source | SS df
> > MS Number of obs =
> > >> 74
> > >> -------------+------------------------------
> > F( 2, 71) =
> > >> 69.75
> > >> Model | 1619.2877 2 809.643849
> > Prob > F =
> > >> 0.0000
> > >> Residual | 824.171761 71 11.608053
> > R-squared =
> > >> 0.6627
> > >> -------------+------------------------------
> > Adj R-squared =
> > >> 0.6532
> > >> Total | 2443.45946 73 33.4720474
> > Root MSE =
> > >> 3.4071
> > >>
> > >>
> > >>
> > ------------------------------------------------------------------------------
> > >> mpg | Coef. Std. Err.
> > t P>|t| [95% Conf.
> > >> Interval]
> > >>
> > >>
> > -------------+----------------------------------------------------------------
> > >> foreign | -1.650029 1.075994 -1.53
> > 0.130 -3.7955
> > >> .4954422
> > >> weight | -.0065879 .0006371 -10.34
> > 0.000 -.0078583
> > >> -.0053175
> > >> _cons | 41.6797 2.165547
> > 19.25 0.000 37.36172
> > >> 45.99768
> > >>
> > >>
> > ------------------------------------------------------------------------------
> > >>
> > >> . outreg
> > >> MakeSmat(): 3499
> > _CColJoin() not found
> > >> CalcStats(): - function
> > returned error
> > >> <istmt>: -
> > function returned error
> > >> r(3499);
> >
> > *
> > * 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/
*
* 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/