EconPapers    
Economics at your fingertips  
 

Confidence intervals for rank statistics: Percentile slopes, differences, and ratios

Roger Newson

Stata Journal, 2006, vol. 6, issue 4, 497-520

Abstract: I present a program, censlope, for calculating confidence intervals for generalized Theil–Sen median (and other percentile) slopes (and per-unit ratios) of Y with respect to X. The confidence intervals are robust to the possibility that the conditional population distributions of Y, given different values of X, differ in ways other than location, such as having unequal variances. censlope uses the program somersd and is part of the somersd package. censlope can therefore estimate confounder-adjusted percentile slopes, limited to comparisons within strata defined by values of confounders, or by values of a propensity score representing multiple confounders. Iterative numerical methods have been implemented in the Mata language, enabling efficient calculation of percentile slopes and their confidence limits in large samples. I give example analyses from the auto dataset and from the Avon Longitudinal Study of Pregnancy and Childhood (ALSPAC). Copyright 2006 by StataCorp LP.

Keywords: somersd; censlope; ALSPAC; robust; confidence interval; rank; nonparametric; median; percentile; slope; difference; ratio; Kendall’s tau; Somers' D; Theil-Sen; Hodges-Lehmann; confounder adjusted; propensity score (search for similar items in EconPapers)
Date: 2006
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (24)

Downloads: (external link)
http://www.stata-journal.com/article.html?article=snp15_7
http://www.stata-journal.com/software/sj6-4/snp15_7/ (text/html)

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

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:tsj:stataj:v:6:y:2006:i:4:p:497-520

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

Access Statistics for this article

Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins

More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().

 
Page updated 2025-03-20
Handle: RePEc:tsj:stataj:v:6:y:2006:i:4:p:497-520