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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: New versions of -sdecode- and -bmjcip- on SSC


From   Roger Newson <r.newson@imperial.ac.uk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: New versions of -sdecode- and -bmjcip- on SSC
Date   Wed, 05 Oct 2011 12:00:33 +0100

Thanks once again to Kit Baum, new versions of the -sdecode- and -bmjcip- packages are now downloadable from SSC. In Stata, use the -ssc- command to do this, or -adoupdate- if you already have old versions of -sdecode- and -bmjcip-.

The -sdecode- and -bmjcip- packages are described as below on my website. -sdecode- is a "super" version of -decode-, which also incorporates some features of -tostring- for decoding unlabelled numeric valuees. -bmjcip- is a fromt-end for -sdecode-, used specifically for decoding estimates, confidence limits and P-values. The new versions incorporate a new possible value of the -esub()- option, -esub(smclsuper)-, which formats unlabelled numeric values with exponents by converting the exponent to a SMCL superscript (currently available only in graphs and described under -help graph_text-). The -esub(smclsuper)- option is expected to be used occasionally by users who want to graph spline parameters using -sdecode- with the -bspline-, -parmest-, -factext-, -sencode- and -eclplot- packages, which you can also download from SSC, and which were demonstrated in my presentation at the 2011 UK Stata User Meeting. This presentation can be downloaded from

http://ideas.repec.org/p/boc/usug11/01.html

(thanks again to Kit Baum).

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/popgenetics/reph/

Opinions expressed are those of the author, not of the institution.

------------------------------------------------------------------------------------
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: 02october2010
      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: 02october2011
      Stata-Version: 11

INSTALLATION FILES                                  (click here to install)
      bmjcip.ado
      bmjcip.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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index