| scr_demo | R Documentation |
A fabricated table so that every example and every vignette runs without
a database. On purpose, it carries the defects real data has: sentinel
-999 in several masses (vl_hist_*), missing values (vl_partial_*),
a column that only degrades in the last period (vl_late), constant,
near-constant, exact duplicate, high cardinality, a redundant pair and
pure noise. Without them, the audit funnel would have nothing to show.
scr_demo
A data.frame with 4,200 rows and 41 columns:
idIdentifier (never a candidate; goes in drop).
ref_dateMonthly reference date, six periods; the key of the out-of-time split.
vl_score_01 to vl_score_12Numerics with decreasing signal.
vl_hist_01 to vl_hist_05Numerics with an increasing mass of
sentinel -999; the signal is in the absence.
vl_partial_01 to vl_partial_03Numerics with genuine NA.
vl_lateNumeric with NA/sentinel in the last period only.
vl_noise_01 to vl_noise_06Pure noise.
vl_constant, vl_near_const, ds_constant, vl_duplicate,
vl_redundant, ds_high_cardStructural pathologies.
ds_region, ds_band, ds_channel, ds_optinCategoricals with
signal; ds_optin has NA.
defaultRisk target (0/1, about 14% events).
churnPropensity target (0/1, about 29% events), for the portfolio examples.
Synthetic. Generated by data-raw/scr_demo.R, seed 20260903, in the package source
repository https://github.com/evandeilton/scorecraft.
Other data:
scr_demo_ead,
scr_demo_lgd,
scr_demo_lgd_cashflows,
scr_demo_panel,
scr_demo_portfolio,
scr_demo_rates
str(scr_demo[, 1:6])
mean(scr_demo$default)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.