IDEAS home Printed from https://ideas.repec.org/p/boc/usug21/1.html
   My bibliography  Save this paper

Ridits right, left, center, native and foreign

Author

Listed:
  • Roger Newson

    (Cancer Prevention Group, School of Cancer & Pharmaceutical Sciences, King's College London)

Abstract

Ridit functions are specified with respect to an identified probability distribution. They are like ranks, only expressed on a scale from 0 to 1 (for unfolded ridits), or -1 to 1 ( for folded ridits). Ridit functions have generalised inverses called percentile functions. A native ridit is a ridit of a variable with respects to its own distribution. Native ridits can be computed using the ridit() function of Nick Cox's SSC package egenmore. Alternatively, weighted ridits can be computed using the SSC package wridit. This has a handedness() option, where handedness(right) specifies a right--continuous ridit (also known as a cumulative distribution function), handedness(left) specifies a left--continuous ridit, and handedness(center) (the default) specifies a ridit function discontinuous at its mass points. wridit now has a module fridit, computing foreign ridits of a variable with respect to a distribution other than its own, specifying the foreign distribution in another data frame. An application of ridits is ridit splines, which are splines in a ridit function, typically computed using the SSC package polyspline. As an example, we may fit a ridit spline to a training set, and use it for prediction in a test set, using foreign ridits of an X-variable in the test set with respect to the distribution of the X-variable in the training set. The model parameterss are typically values of an outcome variable corresponding to percentiles of the X-variable in the training set. This practice stabilises (or Winsorises) outcome values corresponding to X-values in the test set outside the range of X-values in the training set

Suggested Citation

  • Roger Newson, 2021. "Ridits right, left, center, native and foreign," London Stata Conference 2021 1, Stata Users Group.
  • Handle: RePEc:boc:usug21:1
    as

    Download full text from publisher

    File URL: http://fmwww.bc.edu/repec/usug2021/usug21_newson.pdf
    File Function: presentation materials
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/usug2021/usug21_newson_example1.do
    File Function: sample do-file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/usug2021/usug21_newson_example2.do
    File Function: sample do-file
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Roger Newson, 2017. "Ridit splines with applications to propensity weighting," United Kingdom Stata Users' Group Meetings 2017 01, Stata Users Group.
    2. Roger Newson, 2019. "Bland–Altman plots, rank parameters, and calibration ridit splines," London Stata Conference 2019 01, Stata Users Group.
    3. Roger Newson, 2014. "Easy-to-use packages for estimating rank and spline parameters," United Kingdom Stata Users' Group Meetings 2014 01, Stata Users Group.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Roger Newson, 2019. "Bland–Altman plots, rank parameters, and calibration ridit splines," London Stata Conference 2019 01, Stata Users Group.
    2. Roger Newson, 2017. "Ridit splines with applications to propensity weighting," United Kingdom Stata Users' Group Meetings 2017 01, Stata Users Group.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:usug21:1. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F Baum (email available below). General contact details of provider: https://edirc.repec.org/data/stataea.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.