Easy-to-use packages for estimating rank and spline parameters
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.
Year of publication: |
2014-09-28
|
---|---|
Authors: | Newson, Roger Benedict |
Institutions: | Stata User Group |
Saved in:
freely available
Saved in favorites
Similar items by person
-
Scenario comparisons: How much good can we do?
Newson, Roger Benedict, (2012)
-
Creating factor variables in resultssets and other datasets
Newson, Roger Benedict, (2013)
-
Homoskedastic adjustment inflation factors in model selection
Newson, Roger Benedict, (2009)
- More ...