EconPapers    
Economics at your fingertips  
 

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

Thierry Buclin

Statistical Software Components from Boston College Department of Economics

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).

Language: Stata
Requires: Stata version 18
Keywords: predictive performance; model validation; mean bias; root mean squared error; rmse (search for similar items in EconPapers)
Date: 2024-11-11
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.
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/p/predperf.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/p/predperf.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/sheinerbealdata.dta sample data set (application/x-stata)

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

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-30
Handle: RePEc:boc:bocode:s459395