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: texdoc
From
Roger Newson <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: texdoc
Date
Thu, 20 May 2010 10:53:54 +0100
A possible tool for doing reproducible research, if your colleagues
prefer Microsoft-readable output, is the -rtfutil- package, downloadable
from SSC (if you have Stata Version 11) and from my website (if you have
Stata Version 10). The -rtfutil- package is intended for use with the
-listtab- package, also downloadable from SSC (if you have Stata Version
11) and from my website (if you have Stata Version 10).
The -listtab- and -rtfutil- packages are both part of a suite of
programs for producing output datasets (or resultssets), which are Stata
datasets with one observation per "result". These "results" are
typically (but not always) confidence intervals. Resultssets are useful
if you want to plot results (as for a presentation) as well as
tabulating them (for a submitted journal article). More about
resultssets can be found in Newson (2004). Note that the -listtab-
package is intended to replace the older -listtex- package.
I hope this helps.
Best wishes
Roger
References
Newson R. From datasets to resultssets in Stata. Presented at the 10th
UK Stata User Meeting, 28-29 June, 2004. Download from
http://ideas.repec.org/p/boc/usug04/16.html
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: [email protected]
Web page: http://www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/popgenetics/reph/
Opinions expressed are those of the author, not of the institution.
On 17/05/2010 19:42, Austin Nichols wrote:
Nick, Michael Norman Mitchell:
In principle, it should be straightforward to do this kind of thing in
RTF; see e.g. http://en.wikipedia.org/wiki/Rich_Text_Format or try:
sysuse auto, clear
qui reg mpg weight
tempfile t
esttab using `t', rtf
type `t'
for an example of what the output would look like.
One issue is, when Microsoft changes the RTF standard or the way Word
reads RTF files, they might break whatever you wrote, without warning
or apology, so a programmer would have to stay on top of those kinds
of changes.
On Mon, May 17, 2010 at 2:28 PM, Nick Cox<[email protected]> wrote:
My short answer is No.
My longer answer is that it's difficult to imagine how that would be
done -- and (not least) who would do it. Does Word lend itself to this,
even in principle?
One near approach would seem to be those programs with varying degrees
of support for HTML output. -findit html- finds several.
Nick
[email protected]
Michael Norman Mitchell
Thanks for posting this to bring this to our (and my) attention. I
always believe very strongly in using this kind of "weaving" approach
and find it very efficient. Are you (or is anyone on the Statalist)
aware of a tool similar to this that weaves comments, commands, output,
and graphs into a Word document? At my work, we are in constant need of
creating such integrated outputs and the standard format is a Word
document.
On 2010-05-16 9.14 PM, Airey, David C wrote:
.
I just wanted to remind users about Ben Jann's program "texdoc" as one
solution for combining Stata results and graphs with documentation, in a
"weaving" fashion, similar to R and Sweave. It works well with
relatively simple documents one might produce for a course.
*
* 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/