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! ]

QUANTILES: Stata module to categorize by quantiles

Author info | Abstract | Publisher info | Download info | Related research | Statistics
Author Info
Rafael Guerreiro Osorio () (International Poverty Centre/UNDP)
Abstract

quantiles creates a new variable (newvar) that categorizes varname by its quantiles. It differs from xtile because the categories are defined by the ideal size of the quantile rather than by the cutpoints, therefore yielding less unequaly sized categories when the cutpoint value is frequent, when using weights or when the number of observations in the dataset is not a product of the number of quantiles. It may not work properly on small datasets or if calculated for small groups. If the number of observations in the dataset or group is small, tabulate newvar afterwards to check the results.

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 page. 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/q/quantiles.ado
File Format: text/plain
File Function: program code
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/q/quantiles.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 S456856.

Download reference. The following formats are available: HTML (with abstract), plain text (with abstract), BibTeX, RIS (EndNote, RefMan, ProCite), ReDIF
Size:
Programming language: Stata
Requires: Stata version 8.0
Date of creation: 17 Jul 2007
Date of revision:
Handle: RePEc:boc:bocode:s456856

Note: This module may be installed from within Stata by typing "ssc install quantiles". 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: quantiles; percentiles; data manipulation;

Statistics
Access and download statistics

Did you know? You too can volunteer for RePEc, for example by encouraging others to use our services.

This page was last updated on 2009-12-10.


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.