Bookmark and Share

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 version of -xcontract- on SSC


From   Roger Newson <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: New version of -xcontract- on SSC
Date   Mon, 10 May 2010 11:26:42 +0100

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

The -xcontract- package is described as below on my website. It has been updated to Stata Version 10, with a .sthlp online help file, for compatibility with some firewalls which have a problem with the old Stata 8 .hlp extension. Users of Stata Versions 8 or 9 can still download the old Stata 8 version of -xcontract- from my website by typing, in Stata,

net from http://www.imperial.ac.uk/nhli/r.newson/stata8/

and downloading the Stata 8 version of -xcontract-.

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

TITLE
xcontract: Make data set of frequencies and percents on disk or in memory

DESCRIPTION/AUTHOR(S)
xcontract is an extended version of contract. It 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 the frequency and percent of each combination, and, optionally, the cumulative frequency and percent of each combination. A list of by-variables can be used with xcontract, and the percents will then be calculated within by-groups. The output data set 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: 06may2010
      Stata-Version: 10

INSTALLATION FILES                                  (click here to install)
      xcontract.ado
      xcontract.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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index