EconPapers    
Economics at your fingertips  
 

XCONTRACT: Stata module to make a data set of frequencies and percents on disk or in memory

Roger Benedict Newson ()

Statistical Software Components from Boston College Department of Economics

Abstract: 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. 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).

Language: Stata
Requires: Stata version 8.0
Keywords: data manipulation; frequencies; percentages (search for similar items in EconPapers)
Date: Written 2003-08-04
Note: This module may be installed from within Stata by typing "ssc install xcontract". Windows users should not attempt to download these files with a web browser.

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/x/xcontract.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/x/xcontract.hlp help file (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics
Address: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA
Contact information at EDIRC.
Series data maintained by Christopher F Baum ().

 
Page updated 2008-10-12
Handle: RePEc:boc:bocode:s433903