Man pages for scorecraft
Scorecard Development and Internal Ratings-Based Risk Parameters

predict.scr_alignApply an alignment to raw scores
predict.scr_gradesGrade a score vector with the cut points of an scr_grades...
predict.scr_pdPredict grade and PD from an scr_pd object
scorecraft-packagescorecraft: scorecard engine with alignment, cut-off...
scr_alignStage 5: align a raw score to the declared scale
scr_applyApply the WOE transformation or the scorecard to new data
scr_bandsPercentile study of a score
scr_binStage 2: optimal binning, screening, hold-out revalidation...
scr_bin_continuousBin drivers against a continuous target (LGD, CCF)
scr_calibrateCalibrate the alignment to a central tendency
scr_capitalExpected loss, risk-weighted assets and capital of a...
scr_claimsProbability statements about the event rate of score groups
scr_classing_acceptAccept or discard a proposal
scr_classing_applyCommit the lab into a new selection result
scr_classing_chooseChoose the final variable list manually
scr_classing_proposePropose manual bins for a variable
scr_classing_specClassing specification as a long table, with its file round...
scr_classing_viewInspect the current bins of a variable in the lab
scr_coarse_classingCoarse classing lab: manual binning and manual variable...
scr_compareCompare runs across targets
scr_configPipeline configuration
scr_config_keysDictionary of configuration keys
scr_connectConnect to a database (ODBC DSN or any DBI driver)
scr_coreVariables that cross several targets
scr_cutoffStage 6: cut-off sweep with frozen cuts
scr_decisionsDecision ledger of a lab, a result or a scorecard
scr_defaultBuild the default flag from a monthly panel
scr_default_rateOne-year default rates by cohort and the long-run average
scr_demoSynthetic example data
scr_demo_eadSynthetic monthly facility snapshots for the EAD/CCF module
scr_demo_lgdSynthetic default events for the workout LGD examples
scr_demo_lgd_cashflowsSynthetic post-default cash flows of 'scr_demo_lgd'
scr_demo_panelSynthetic monthly panel for the default engine and PD...
scr_demo_portfolioSynthetic exposure snapshot for expected loss, capital and...
scr_demo_ratesSynthetic monthly reference rate series
scr_detectionTime to detection of fraud episodes
scr_eadEstimate CCF pools from the reference data set
scr_ead_dataBuild the realized-CCF reference data set from facility...
scr_ead_downturnDownturn CCF per pool
scr_ead_validateValidate CCF pools: calibration, discrimination, back-testing...
scr_eclExpected credit loss with stage allocation
scr_elExpected loss per exposure
scr_elbeELBE and in-default LGD on a grid of months since default
scr_exportWrite the deliverables
scr_fetchFetch a table with reproducible server-side sampling
scr_funnelAudit funnel: every input variable and its fate
scr_gainsGains table, at bin level
scr_gradesRating grades on the score
scr_irb_paramsIRB parameter tables by framework preset
scr_irb_rwIRB risk weight of one or many exposures
scr_ivInformation Value of any grouping
scr_leakageLeakage and suspicious-strength audit
scr_lgdTwo-stage LGD model and pools on the reference data set
scr_lgd_downturnDownturn LGD per pool
scr_lgd_floorInput floor on the downturn LGD per pool
scr_lgd_poolsLGD pools from the predicted LGD
scr_lgd_validateValidation battery of an LGD model
scr_master_scaleMaster scale of PD grades
scr_maturityMaturity of the event by score band
scr_metricsAUC, KS and Gini of a score, with a bootstrap confidence...
scr_migrationMigration matrix between two rating dates
scr_mix_shiftMix and rate effects of a change in the event rate
scr_mocMargin of conservatism, by category
scr_modelStages 3 and 4: multi-strategy selection and consensus
scr_monitorMonitor the scorecard on new data
scr_monitoring_planMonitoring plan read by scr_monitor()
scr_operatingOperating point of a score under constraints
scr_overlapOverlap of rules and a score
scr_pdThe PD model: grades, margin of conservatism and the floor
scr_pd_pit_ttcOne-factor bridge between point-in-time and through-the-cycle...
scr_pd_stressStressed PD of the one-factor model
scr_pd_validateValidate a PD model on a cohort panel
scr_presetsSelection presets, side by side
scr_psiPopulation stability index, with the fixed and the...
scr_ragRed / amber / green lights of a score against its reference
scr_rag_planThresholds of the red / amber / green lights
scr_reasonsReason codes: the variables that took the most points from...
scr_rejectStage 6: honest reject inference through a sensitivity band
scr_resultResult of a selection
scr_runRun the selection for several targets straight from the...
scr_runsetSet of runs, one per target
scr_sa_rwStandardized risk weight of an exposure
scr_scorecardStages 4 and 5: points scorecard, aligned to the declared...
scr_score_crossTwo scores on the same rows
scr_score_gainsScore gains per frozen band
scr_score_metricsScore metrics per sample, with CI
scr_segmentsOne score on many segments
scr_selectSelect variables for the scorecard
scr_selectedVariables approved for the scorecard
scr_splitStage 0: type the data and split train and hold-out
scr_sqlProduction SQL
scr_strategyStage 6: strategy table per band, with marginal expected...
scr_tiersTiers of a score: a few labeled levels of risk or propensity
scr_triageStage 1: descriptive triage and sentinel resolution
scr_upliftUplift of a treatment along a score
scr_verboseSwitch progress messages on or off
scr_workoutWorkout LGD: the reference data set from default events and...
scorecraft documentation built on Dec. 6, 2026, 1:09 a.m.