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

st: New package -creplace- on SSC

From   "Newson, Roger B" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: New package -creplace- on SSC
Date   Fri, 4 Sep 2009 19:05:21 +0100

Thanks to Kit Baum, a new package -creplace- is now available for download from SSC. In Stata, use the -ssc- command to do this.

The -creplace- command is described as below on my website. It will probably be used mostly for exchanging values of upper and lower confidence limit variables in -parmest- resultssets, following the application of a decreasing end-point transformation to the estimates and confidence limits.

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
Email: [email protected] 
Web page:
Departmental Web page:

Opinions expressed are those of the author, not of the institution.
package creplace from

      creplace: Exchange values cyclically between variables

      creplace is an extended version of replace, which exchanges values
      cyclically between variables in a list of two or more variables.  By
      default, the values in each variable are replaced by values from the
      next variable in the list, or by values from the first variable, in
      the case of the last variable.  Optionally, the values in each
      variable are replaced by values from the previous variable in the
      list, or by values from the last variable, in the case of the first
      variable.  If there are only two variables in the list, then their
      values will simply be exchanged.  Variables in the list must be all
      numeric or all string.  After exchanging the values, creplace will
      compress these variables to the smallest storage type possible without
      loss of information.
      Author: Roger Newson
      Distribution-Date: 19august2009
      Stata-Version: 11

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

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index