Bookmark and Share

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: esttab rtfutil


From   Jörg Eulenberger <[email protected]>
To   [email protected]
Subject   Re: st: esttab rtfutil
Date   Thu, 31 May 2012 07:55:49 +0200

Tanks a lot Austin.
It works great.


Am 30.05.2012 17:04, schrieb Austin Nichols:
> cap ssc inst png2rtf
> file close _all
> sysuse auto, clear
> qui reg foreign rep78
> tempname h1
> loc f1 mydoc2.rtf
> loc on nonum nonote nomti noobs cell(none) noline
> esttab . using `f1', rtf `on' replace ti(\b Auswertung Sofub)
> sc mpg price,  mlabel(make) || lfitci mpg price
> graph export myplot1.png, replace
> esttab . using `f1', rtf `on' a ti(\b Abbildung 1:  Test 1)
> png2rtf using `f1', gr(myplot1.png) append
> sc price mpg,  mlabel(make) by(for)
> graph export myplot2.png, replace
> esttab . using `f1', rtf `on' a ti(\b Abbildung 2:  Test 2)
> png2rtf using `f1', gr(myplot2.png) append
> esttab . using `f1', rtf `on' a ti({\pard \par})
> estpost tabulate foreign rep78
> loc op cell(colpct(fmt(1))) unstack noobs app varlabels(`e(labels)')
> loc op `op' varw(30) nonumber nomtitle collabels(none)
> loc op `op' eqlabels(,lhs("Test")) mlabel("Test2")
> esttab using `f1', rtf `op'
> file open `h1' using `f1', write append
> file write `h1' _n "}" _n
> file close _all
> !start `f1'

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index