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]
st: New versions of -listtab-, -sdecode-, -bmjcip-, -chardef-, -xrewide-, -ingap-  and -rtfutil- on SSC
From 
 
"Roger B. Newson" <[email protected]> 
To 
 
"[email protected]" <[email protected]> 
Subject 
 
st: New versions of -listtab-, -sdecode-, -bmjcip-, -chardef-, -xrewide-, -ingap-  and -rtfutil- on SSC 
Date 
 
Mon, 23 Jul 2012 10:41:54 +0100 
Thanks as always to Kit Baum, new versions of the packahes -listtab-, 
-sdecode-, -bmjcip-, -chardef-, -xrewide-, -ingap-  and -rtfutil- are 
now available for download from SSC. In Stata, use the -ssc- command to 
do this, or -adoupdate- if you already have old versions of these packages.
The packages -listtab-, -sdecode-, -bmjcip-, -chardef-, -xrewide-, 
-ingap-  and -rtfutil- are described as below on my website, and 
together form a comprehensive toolkit for creating tables from Stata 
datasets, in a variety of document formats, including TeX, LaTeX, HTML, 
RTF, and possibly XML-based word processor formats yet to be invented. 
-listtab- supersedes the old package -listtex-, which users can still 
download from SSC. The new versions of all these packages have updated 
on-line help files, containing a hypertext reference to Newson (2012), 
which is now the definitive reference for the -listtab- team of 
packages. I would like to thank Lisa Gilmore at StataCorp for suggesting 
that something like this would be a good idea.
Best wishes
Roger
References
Newson, R. B.  2012.  From resultssets to resultstables in Stata. The 
Stata Journal 12(2): 191-213.  Download from
http://www.stata-journal.com/article.html?article=st0254
--
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.
---------------------------------------------------------------------------------
package listtab from http://www.imperial.ac.uk/nhli/r.newson/stata11
---------------------------------------------------------------------------------
TITLE
      listtab: List variables as rows of a TeX, HTML or word processor 
table
DESCRIPTION/AUTHOR(S)
      listtab outputs a list of variables to the Stata log or to a file 
as TeX,
      HTML or word processor table rows, which can then be inserted 
into a TeX,
      HTML or word processor table by cutting and pasting and/or file 
linking
      and/or embedding (eg using the TeX \input command). listtab 
produces the
      table rows, but may also produce a set of header lines before the 
table
      rows and/or footer lines after the table rows, containing 
preambles and/or
      table definitions and/or table headers and/or table footers, as 
specified
      by the user.
      Author: Roger Newson
      Distribution-Date: 19july2012
      Stata-Version: 11
INSTALLATION FILES                                  (click here to install)
      listtab.ado
      listtab_vars.ado
      listtab_rstyle.ado
      listtab.sthlp
      listtab_vars.sthlp
      listtab_rstyle.sthlp
---------------------------------------------------------------------------------
(click here to return to the previous screen)
---------------------------------------------------------------------------------------
package sdecode from http://www.imperial.ac.uk/nhli/r.newson/stata11
---------------------------------------------------------------------------------------
TITLE
      sdecode: Decode a numeric variable to string, formatting 
unlabelled values
DESCRIPTION/AUTHOR(S)
      sdecode is an extended version of decode. It takes, as input, a 
numeric
      variable, and generates, as output, a string variable, with values
      corresponding to value labels of the numeric variable for 
labelled values,
      and (optionally) formatted values of the numeric variable for 
unlabelled
      values. The output string values therefore appear as the numeric 
input
      values appear in output from the tabulate command. The output string
      variable may replace the input numeric variable or be generated 
as a new
      variable.
      Author: Roger Newson
      Distribution-Date: 20july2012
      Stata-Version: 11
INSTALLATION FILES                                  (click here to install)
      sdecode.ado
      sdecode.sthlp
---------------------------------------------------------------------------------------
(click here to return to the previous screen)
---------------------------------------------------------------------------------------
package bmjcip from http://www.imperial.ac.uk/nhli/r.newson/stata11
---------------------------------------------------------------------------------------
TITLE
      bmjcip: Format confidence intervals and P-values for medical journals
DESCRIPTION/AUTHOR(S)
      bmjcip reformats a list of numeric variables, containing estimates
      and/or confidence limits and/or P-values, to string variables,
      containing the same values formatted for presentation in medical
      journals.  The new string variables replace the old numeric
      variables, and have the same names, variable labels, variable
      characteristics, and positions in the dataset.  bmjcip is usually
      used in output datasets (or resultssets) produced by the parmest
      package, and the reformatted string variables are usually later
      output using the listtab package, for input to Microsoft Word or
      other word processors.  It requires the sdecode package in order to
      work.  The sdecode, parmest and listtab packages can all be
      downloaded from SSC.
      Author: Roger Newson
      Distribution-Date: 20july2012
      Stata-Version: 11
INSTALLATION FILES                                  (click here to install)
      bmjcip.ado
      bmjcip.sthlp
---------------------------------------------------------------------------------------
(click here to return to the previous screen)
---------------------------------------------------------------------------------------
package chardef from http://www.imperial.ac.uk/nhli/r.newson/stata11
---------------------------------------------------------------------------------------
TITLE
      chardef: Assign values to a characteristic of a list of items
DESCRIPTION/AUTHOR(S)
      chardef is a mass-production version of the char define
      command.  It assigns a list of values to a named
      characteristic of a list of items, which can be variables, or
      the current dataset.  If the evarlist is not supplied, then
      chardef assigns the values to the named characteristic for
      all variables in the dataset currently in the memory.  If the
      named characteristic is not supplied, then the values are
      assigned to the characteristic varname, used by the list
      command.  If the list of values is shorter than the evarlist,
      then the list of values is extended on the right with copies
      of the last value.  Optionally, a prefix and/or a suffix may
      be added to the values.  The charundef module resets a list
      of characteristics to empty strings for a list of items.
      Author: Roger Newson
      Distribution-Date: 20july2012
      Stata-Version: 11
INSTALLATION FILES                                  (click here to install)
      chardef.ado
      charundef.ado
      chardef.sthlp
      charundef.sthlp
---------------------------------------------------------------------------------------
(click here to return to the previous screen)
---------------------------------------------------------------------------
package xrewide from http://www.imperial.ac.uk/nhli/r.newson/stata10
---------------------------------------------------------------------------
TITLE
      xrewide: Extended version of reshape wide
DESCRIPTION/AUTHOR(S)
      The xrewide package is an extended version of reshape wide.
      It saves results in variable characteristics, in addition to
      the dataset characteristics saved by reshape.  This is done
      using additional options for assigning the values and/or
      value labels of the j-variable to characteristics of the
      corresponding generated output variables.  These
      characteristics can be useful for defining column headings
      if the reshaped output dataset is output to a table using
      the listtab package, which can be downloaded from SSC.
      Author: Roger Newson
      Distribution-Date: 20july2012
      Stata-Version: 10
INSTALLATION FILES                                  (click here to install)
      xrewide.ado
      xrewide.sthlp
---------------------------------------------------------------------------
(click here to return to the previous screen)
-----------------------------------------------------------------------------------
package ingap from http://www.imperial.ac.uk/nhli/r.newson/stata10
-----------------------------------------------------------------------------------
TITLE
      ingap: Insert gap observations in a dataset
DESCRIPTION/AUTHOR(S)
      ingap inserts gap observations into a list of positions in an 
existing data
      set. All existing variables in the dataset will have missing 
values in the
      gap observations, unless the user specifies otherwise.  Often, 
the user
      specifies non-missing values in the gap observations for one 
particular
      existing string variable, known as the row label variable. This 
row label
      variable may then be output with a list of other variables to form a
      publication-ready table with labelled gap rows, using the listtab 
package.
      Alternatively, the row label variable may be encoded, using the 
sencode
      package, to form a numeric variable with value labels. This 
numeric variable
      can then be plotted on one axis of a graph to define axis labels, 
including
      gap axis labels.  The sencode and listtab packages are 
downloadable from SSC
      or from this website.
      Author: Roger Newson
      Distribution-Date: 20july2012
      Stata-Version: 10
INSTALLATION FILES                                  (click here to install)
      ingap.ado
      ingap.sthlp
-----------------------------------------------------------------------------------
(click here to return to the previous screen)
---------------------------------------------------------------------------
package rtfutil from http://www.imperial.ac.uk/nhli/r.newson/stata11
---------------------------------------------------------------------------
TITLE
      rtfutil: Utilities for writing Rich Text Format (RTF) files
DESCRIPTION/AUTHOR(S)
      The rtfutil package is a suite of file handling utilities for
      producing Rich Text Format (RTF) files in Stata, possibly
      containing plots and tables.  These RTF files can then be
      opened by Microsoft Word, and possibly by alternative free
      word processors.  The plots can be included by inserting, as
      linked objects, graphics files that might be produced by the
      graph export command in Stata.  The tables can be included by
      using the listtab command, downloadable from SSC, with the
      handle() option.
      Author: Roger Newson
      Distribution-Date: 20july2012
      Stata-Version: 11
INSTALLATION FILES                                  (click here to install)
      rtfopen.ado
      rtfsect.ado
      rtflink.ado
      rtfhyper.ado
      rtfcumlist.ado
      rtfrstyle.ado
      rtfclose.ado
      rtfutil.sthlp
      rtfopen.sthlp
      rtfsect.sthlp
      rtflink.sthlp
      rtfhyper.sthlp
      rtfcumlist.sthlp
      rtfrstyle.sthlp
      rtfclose.sthlp
---------------------------------------------------------------------------
(click here to return to the previous screen)
*
*   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/