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 on April 23, and its replacement, statalist.org is already up and running.


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

st: New version of -xcollapse- on SSC


From   "Roger B. Newson" <r.newson@imperial.ac.uk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: New version of -xcollapse- on SSC
Date   Thu, 22 Mar 2012 20:07:10 +0000

Thanks to Kit Baum, a new version of the -xcollapse- 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 -xcollapse-.

The -xcollapse- package is described as below on my website, and is an extended version of -collapse-. The new version has the same program as before, but the online help has been abbreviated in order to refer to the online help for -collapse- instead of duplicating it. This is an improvement, as -collapse- has progressively gained capabilities from version to version of Stata, and these capabilities are automatically inherited by -xcollapse-, even though -xcollapse- itself is only Stata Version 10. Users of Stata 10, 11 or 12+ will therefore be referred to the capabilities of their own -collapse- versions, instead of reading a description originally cut and pasted from the Stata Version 8 -collapse-.

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 xcollapse from http://www.imperial.ac.uk/nhli/r.newson/stata10
------------------------------------------------------------------------------------

TITLE
      xcollapse: Make data set of summary statistics on disk or in memory

DESCRIPTION/AUTHOR(S)
xcollapse is an extended version of collapse, which creates a data set with one observation per combination of values of a list of variables in the existing data set and new variables containing summary statistics of other variables (eg means) in each combination. xcollapse allows the user to choose the destination of the output data set, which may either be listed to the Stata log, or saved to a disk file, or written to the memory (overwriting any
      existing data set).

      Author: Roger Newson
      Distribution-Date: 22march2012
      Stata-Version: 10

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