Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

RE: st: RE: Export all results in XTIVREG2 into Word or Excel file


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: Export all results in XTIVREG2 into Word or Excel file
Date   Sat, 13 Mar 2010 22:21:15 +0100

<>

" I used estout but it produced the coefficients, significant stars (in the
coefficients' line) and t-statistics only, not F-statistic for Weak
instrument test and not Sargan test."



It is easy to add these statistics:


*************
use http://fmwww.bc.edu/ec-p/data/macro/abdata, clear
tsset id year
xtivreg2 ys k (n=l2.n l3.n), fe small
esttab using myfile.rtf,  /* 
*/ sca("widstat Weak Ident." "sargan Sargan")
!myfile.rtf
*************


HTH
Martin


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Thu Phuong Pham
Sent: Samstag, 13. März 2010 00:59
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: RE: Export all results in XTIVREG2 into Word or Excel file

Hi Martin

I used estout but it produced the coefficients, significant stars (in the
coefficients' line) and t-statistics only, not F-statistic for Weak
instrument test and not Sargan test.

Please instruct me how to export all of these in Excel/ Word?

Thanks

On Sat, Mar 13, 2010 at 5:42 AM, Martin Weiss <martin.weiss1@gmx.de> wrote:

>
> <>
>
> Have you tried -ssc d esttab-?
>
>
> HTH
> Martin
>
> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Thu Phuong Pha=
m
> Sent: Freitag, 12. M=E4rz 2010 02:01
> To: statalist@hsphsun2.harvard.edu
> Subject: st: Export all results in XTIVREG2 into Word or Excel file
>
> Dear all
>
> I am using XTIVREG2 to run some 2SLS regressions with fixed effects. I wa=
nt
> to export all the results (including Weak identification test and Sargan
> statistic) into Word or Excel file; but I do not know how to do this.
>
> Could you please instruct me?
>
> Thanks a lot
>
> On Fri, Mar 12, 2010 at 6:50 AM, Roger Newson
> <r.newson@imperial.ac.uk>wrote:
>
> > Is there any way that Stata users can save windowing, font and graphics
> > preferences in such a way as to be portable between different computers=
?
> (Or
> > at least between different computers sharing the same operating
> > environment?)
> >
> > I ask because my hard disk failed without warning last Friday.
> Fortunately,
> > I managed to re-install my Stata (Version 11, release date 09 March 201=
0,
> > under Windows XP, with over 60 user-defined packages) on a temporary PC
> > without much trouble, and do not expect to have much trouble porting
> > everything back to my old PC when a new hard drive is installed. Howeve=
r,
> it
> > would be even better if I could save my preferences to a server and loa=
d
> > them again, without any manual tweaking.
> >
> > I like the new standard preference sets for presentations, shipped with
> > Stata 11, which are pre-optimized with large fonts for visibility to
> people
> > with poor eyesight at the back of the hall. However, ideally, I would
> like
> > also to be able to define an equally automatic preference set, with sma=
ll
> > fonts, for my own daily use, and not to have to reconstruct it when I
> move
> > to a new PC.
> >
> > Best wishes
> >
> > Roger
> >
> >
> > --
> > Roger B Newson BSc MSc DPhil
> > Lecturer in Medical Statistics
> > Respiratory Epidemiology and Public Health Group
> > National Heart and Lung Institute
> > Imperial College London
> > Royal Brompton Campus
> > Room 33, Emmanuel Kaye Building
> > 1B Manresa Road
> > London SW3 6LR
> > UNITED KINGDOM
> > Tel: +44 (0)20 7352 8121 ext 3381
> > Fax: +44 (0)20 7351 8322
> > Email: r.newson@imperial.ac.uk
> > Web page: http://www.imperial.ac.uk/nhli/r.newson/
> > Departmental Web page:
> >
> >
>
> http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/popg=
ene
> tics/reph/<http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respi=
ration/popgene%0Atics/reph/>
> >
> > Opinions expressed are those of the author, not of the institution.
> >
> > *
> > *   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/
>

*
*   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   |   Site index