Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: New version of -bmjcip- on SSC

From   Roger Newson <>
To   "" <>
Subject   st: New version of -bmjcip- on SSC
Date   Tue, 21 Dec 2010 17:18:25 +0000

Thanks yet again to Kit Baum, a new version of the -bmjcip- package is now available for download from SSC. In Stata, use the -ssc- command to do this, or -adoupdate- if you already have an old version of -bmjcip-.

The -bmjcip- package is described as below on my website, and is part of my system of programs for converting resultssets to resultstables, using the SSC package -listtab-. The new version adds -if- and -in- qualifiers. It also adds 4 new options, -prefix()-, -suffix()-, -pprefix()- and -psuffix()-, for specifying a prefix string, a suffix string, a special prefix string for P-values, and a special suffix string for P-values, respectively. This can be especially useful if the user is outputting the confidence intervals and P-values to a Rich Text Format (RTF) document (usually using the SSC package -rtfutil-), and wishes to right-justify the confidence limits and left-justify the P-values. As in:

bmjcip estimate min95 max95 p, esub(rtfsuper) prefix("\qr{") pprefix("\ql{") suffix("}")

These improvements have also been added to the Stata Version 10 version of -bmjcip-, which users can download by typing, in Stata,

net from "";

and selecting and installing -bmjcip-.

Best wishes


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
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Web page:
Departmental Web page:

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

package bmjcip from

      bmjcip: Format confidence intervals and P-values for medical journals

      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: 21decemer2010
      Stata-Version: 11

INSTALLATION FILES                                  (click here to install)
(click here to return to the previous screen)
*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index