EconPapers    
Economics at your fingertips  
 

Easy-to-use packages for estimating rank and spline parameters

Roger Newson

United Kingdom Stata Users' Group Meetings 2014 from Stata Users Group

Abstract: So-called non-parametric methods are in fact based on estimating and testing parameters, usually either rank parameters or spline parameters. Two comprehensive packages for estimating these are somersd (for rank parameters) and bspline (for spline parameters). Both of these estimate a wide range of parameters, but both are frequently found to be difficult to use by casual users. This presentation introduces rcentile, an easy-to-use front end for somersd, and polyspline, an easy-to-use front end for bspline. rcentile estimates percentiles with confidence limits, optionally allowing for clustered sampling and sampling-probability weights. The confidence intervals are saved in a Stata matrix, with one row per percentile, which the user can save to a resultsset using the xsvmat package. polyspline inputs an X-variable and a user-defined list of reference points and outputs a basis of variables for a polynomial or for another unrestricted spline. This basis can be included in the covariate list for an estimation command, and the corresponding parameters will be values of the polynomial or spline at the reference points, or differences between these values. By default, the spline will simply be a polynomial, with a degree one less than the number of reference points. However, if the user specifies a lower degree, then the spline will have knots interpolated sensibly between the reference points.

Date: 2014-09-28
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (3)

Downloads: (external link)
http://repec.org/usug2014/newson_uksug14.pdf presentation materials (application/pdf)
http://repec.org/usug2014/newson_uksug14.examples1.do sample file (text/plain)

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:boc:usug14:01

Access Statistics for this paper

More papers in United Kingdom Stata Users' Group Meetings 2014 from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-19
Handle: RePEc:boc:usug14:01