This file is part of IDEAS, which uses RePEc data


[ Papers | Articles | Software | Books | Chapters | Authors | Institutions | JEL Classification | NEP reports | Search | New papers by email | Author registration | Rankings | Volunteers | FAQ | Blog | Help! ]

DIGITS: Stata module to examine digit preferences in numeric variables

Author info | Abstract | Publisher info | Download info | Related research | Statistics
Author Info
Richard J. Atkins () (London School of Hygiene and Tropical Medicine)
Abstract

This package contains three independent programs that provide a high level of flexibility in exploring digit preferences. digit is an extension to the Stata egen command. It can be used with egen to create a new variable containing the digits at a certain decimal place of an existing variable. Options are available to specify the decimal position that you wish to examine as well as the rounding that should be applied to the variable when extracting this digit. The resulting variable can be tabulated and used in goodness-of-fit tests as required. This is useful for in-depth exploration of digit preferences. digituse cross-tabulates digits against all the decimal places available in a variable, reporting results as percentage distribution of digits at each decimal place. This is useful for initial visual inspection of digit preferences. zerouse can be used to examine the pattern of use of the 'zero' digit within a variable. The range of decimal places examined can be defined as can the 'zero' digit. Results can be tabulated against other variables or stored in a new variable for later use.

Download Info
To download:

If you experience problems downloading a file, check if you have the proper application to view it first. Information about this may be contained in the File-Format links below. In case of further problems read the IDEAS help file. Note that these files are not on the IDEAS site. Please be patient as the files may be large.

File URL: http://fmwww.bc.edu/repec/bocode/_/_gdigit.ado
File Format: text/plain
File Function: program code
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/d/digit.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/d/digituse.ado
File Format: text/plain
File Function: program code
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/z/zerouse.ado
File Format: text/plain
File Function: program code
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/d/digituse.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/z/zerouse.hlp
File Format: text/plain
File Function: help file
Download Restriction: no

Publisher Info
Software component provided by Boston College Department of Economics in its series Statistical Software Components with number S456709.

Download reference. The following formats are available: HTML (with abstract), plain text (with abstract), BibTeX, RIS (EndNote), ReDIF
Size:
Programming language: Stata
Requires: Stata version 8
Date of creation: 16 Mar 2006
Date of revision: 12 Jun 2006
Handle: RePEc:boc:bocode:s456709

Note: This module may be installed from within Stata by typing "ssc install digits". Windows users should not attempt to download these files with a web browser.
Contact details of provider:
Postal: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA
Phone: 617-552-3670
Fax: +1-617-552-2308
Email:
Web page: http://fmwww.bc.edu/EC/
More information through EDIRC

Order Information:
Web: http://repec.org/docs/ssc.php

For technical questions regarding this item, or to correct its listing, contact: (Christopher F Baum).

Related research
Keywords: digit preferences; decimal position; zero;

Statistics
Access and download statistics

Did you know? A few items listed on IDEAS are over 2000 years old!

This page was last updated on 2009-6-24.


This information is provided to you by IDEAS at the Department of Economics, College of Liberal Arts and Sciences, University of Connecticut using RePEc data on a server sponsored by the Society for Economic Dynamics.