Home
Home  >>  Archives  >>  Volume 3 Number 3  >>  st0043

The Stata Journal
Volume 3 Number 3: pp. 245-269



Subscribe to the Stata Journal
cover

Confidence intervals and p–values for delivery to the end user

Roger Newson
King's College London, UK
roger.newson@kcl.ac.uk
Abstract.   Statisticians make their living producing confidence intervals and pvalues. However, those in the Stata log are not ready for delivery to the end user, who usually wants to see statistical output either as a plot or as a table. This article describes a suite of programs used to convert Stata results to one or other of these forms. The eclplot package creates plots of estimates with confidence intervals, and the listtex package outputs a Stata dataset in the form of table rows that can be inserted into a plain TeX, LaTeX, HTML, or word processor table. To create a Stata dataset that can be output in these ways, we can use the parmest, dsconcat, and lincomest packages to create datasets with one observation per estimated parameter; the sencode, tostring, ingap, and reshape packages to process these datasets into a form ready to be output; and the descsave and factext packages to reconstruct, in the output dataset, categorical predictor variables represented by dummy variables in regression models.
Terms of use     View this article (PDF)

View all articles by this author: Roger Newson

View all articles with these keywords: confidence interval, p-value, plot, table, estimation results, TeX, LaTeX, HTML, word processor, presentation, eclplot, listtex, parmest, dsconcat, lincomest, sencode, tostring, ingap, reshape, descsave, factext

Download citation: BibTeX  RIS

Download citation and abstract: BibTeX  RIS

Contact StataCorp

Contact service@stata-journal.com if you have questions about the Stata Journal.

© Copyright 2001–2014 StataCorp LP.   Terms of use.   Privacy policy.