IDEAS home Printed from https://ideas.repec.org/c/boc/bocode/s459395.html
 

PREDPERF: Stata module module for calculating simple indices describing the accuracy and precision of one or two continuous-value predictors, based on a series of predictions matched with corresponding ‘true’ observations

Author

Listed:
  • Thierry Buclin

    (Clinical Pharmacology Service, University Hospital of Lausanne)

Programming Language

Stata

Abstract

In pharmacometrics, as in many other disciplines involving modeling, we regularly need to validate a model built to predict the values of a continuous marker by comparing its predictions with a series of “true” observations. We also often need to compare two models on the basis of their respective performances. A seminal paper by Lewis Sheiner and Stuart Beal, still widely cited today, laid the conceptual foundations for evaluating the predictive performance of a model for a continuous outcome variable (Sheiner LB, Beal SL. Some suggestions for measuring predictive performance. J Pharmacokinet Biopharm. 1981;9:503-12. doi: 10.1007/BF01060893). The accuracy of predictions is reflected in their mean bias relative to observations, while the precision of predictions is reflected in their root mean square residual error with respect to the observations. Sheiner and Beal showed how to estimate simple confidence intervals around these two indices, and how to test simple hypotheses. This unpretentious program implements these calculations in STATA, while providing an illustrative graph of the calculated indices over a scatterplot of observations versus predictions. It offers the option of calculating absolute bias and imprecision, or their relative counterparts (i.e. expressed as percentage ratios), or their logarithmic counterparts (i.e. based on the logarithm of the values compared).

Suggested Citation

  • Thierry Buclin, 2024. "PREDPERF: Stata module module for calculating simple indices describing the accuracy and precision of one or two continuous-value predictors, based on a series of predictions matched with correspondin," Statistical Software Components S459395, Boston College Department of Economics.
  • Handle: RePEc:boc:bocode:s459395
    Note: This module should be installed from within Stata by typing "ssc install predperf". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
    as

    Download full text from publisher

    File URL: http://fmwww.bc.edu/repec/bocode/p/predperf.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/predperf.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sheinerbealdata.dta
    File Function: sample data set
    Download Restriction: no
    ---><---

    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:bocode:s459395. 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.

    We have no bibliographic references for this item. You can help adding them by using 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/debocus.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.