Package: savvyPR 0.1.2

Ziwei Chen

savvyPR: Savvy Parity Regression Model Estimation with 'savvyPR'

Implements the Savvy Parity Regression 'savvyPR' methodology for multivariate linear regression analysis. The package solves an optimization problem that balances the contribution of each predictor variable to ensure estimation stability in the presence of multicollinearity. It supports two distinct parameterization methods, a Budget-based approach that allocates a fixed loss contribution to each predictor, and a Target-based approach (t-tuning) that utilizes a relative elasticity weight for the response variable. The package provides comprehensive tools for model estimation, risk distribution analysis, and parameter tuning via cross-validation (PR1, PR2, and PR3 model types) to optimize predictive accuracy. Methods are based on Asimit, Chen, Ichim and Millossovich (2026) <https://openaccess.city.ac.uk/id/eprint/37017/>.

Authors:Ziwei Chen [aut, cre], Vali Asimit [aut], Pietro Millossovich [aut]

savvyPR_0.1.2.tar.gz
savvyPR_0.1.2.tar.gz(r-4.7-any)savvyPR_0.1.2.tar.gz(r-4.6-any)
savvyPR_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
savvyPR/json (API)

# Install 'savvyPR' in R:
install.packages('savvyPR', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ziwei-chenchen/savvypr/issues

Pkgdown/docs site:https://ziwei-chenchen.github.io

On CRAN:

Conda:

3.18 score 484 downloads 2 exports 29 dependencies

Last updated from:c7403b4ccf. Checks:4 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK223
source / vignettesOK232
linux-release-x86_64OK246
wasm-releaseOK121

Exports:cv.savvyPRsavvyPR

Dependencies:clicodetoolscpp11farverforeachggplot2glmnetgluegridExtragtableisobanditeratorslabelinglatticelifecycleMatrixnleqslvR6RColorBrewerRcppRcppEigenrlangS7scalesshapesurvivalvctrsviridisLitewithr

Savvy Parity Regression Model Estimation with 'savvyPR'

Rendered fromsavvyPR_example.Rmdusingknitr::rmarkdownon Jun 09 2026.

Last update: 2026-03-17
Started: 2026-03-17