| pridit | R Documentation |
The pridit package provides functions for implementing the PRIDIT (Principal Component Analysis applied to RIDITs) scoring system.
A single entry-point that runs the full PRIDIT pipeline—ridit scoring,
weight estimation, and composite scoring—and returns a classed object with
print, summary, autoplot, and coef methods.
pridit(data, sign_correction = TRUE)
data |
A data frame. The first column is treated as the observation identifier; all remaining columns must be numeric indicators. |
sign_correction |
Logical (default |
PRIDIT (Principal Component Analysis applied to RIDITs) was introduced by Brockett et al. (2002) for insurance fraud detection and applied to hospital quality measurement by Lieberthal (2008). Its key properties are:
No parametric assumptions about the data-generating process.
No prior knowledge of indicator direction is required; weight signs are determined entirely by the data.
Each indicator weight is interpretable as its contribution to the dominant latent factor.
An object of class "pridit", a list with components:
scoresData frame with columns id and
PRIDITscore, sorted descending.
weightsNamed numeric vector of PRIDIT weights.
eigenvalueLargest eigenvalue of the ridit cross-product matrix (used for score normalisation).
eigenvalue_ratioRatio of the first to the second eigenvalue; large values support the single-factor interpretation.
nNumber of observations.
pNumber of indicators.
callMatched call.
Maintainer: Robert D. Lieberthal rlieberthal@gmail.com
Authors:
Robert D. Lieberthal rlieberthal@gmail.com
Brockett, P. L., Derrig, R. A., Golden, L. L., Levine, A., & Alpert, M. (2002). Fraud classification using principal component analysis of RIDITs. Journal of Risk and Insurance, 69(3), 341–371.
Lieberthal, R. D. (2008). Hospital quality: A PRIDIT approach. Health Services Research, 43(3), 988–1005.
Lieberthal, R. D., & Comer, D. M. (2013). What are the characteristics that explain hospital quality? A longitudinal PRIDIT approach. Risk Management and Insurance Review, 17(1), 17–35.
Useful links:
pridit_boot, pridit_longitudinal,
step_pridit
dat <- data.frame(
id = letters[1:10],
x1 = runif(10),
x2 = runif(10),
x3 = runif(10)
)
fit <- pridit(dat)
fit
summary(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.