{
  "_id": "6a27ee0524555f66ed54af00",
  "Package": "PDtoolkit",
  "Title": "Collection of Tools for PD Rating Model Development and\nValidation",
  "Version": "1.2.1",
  "Authors@R": "person(given = \"Andrija\",\nfamily = \"Djurovic\",\nrole = c(\"aut\", \"cre\"),\nemail = \"djandrija@gmail.com\")",
  "Maintainer": "Andrija Djurovic <djandrija@gmail.com>",
  "Description": "The goal of this package is to cover the most common steps\nin probability of default (PD) rating model development and\nvalidation. The main procedures available are those that refer\nto univariate, bivariate, multivariate analysis, calibration\nand validation. Along with accompanied 'monobin' and\n'monobinShiny' packages, 'PDtoolkit' provides functions which\nare suitable for different data transformation and modeling\ntasks such as: imputations, monotonic binning of numeric risk\nfactors, binning of categorical risk factors, weights of\nevidence (WoE) and information value (IV) calculations, WoE\ncoding (replacement of risk factors modalities with WoE\nvalues), risk factor clustering, area under curve (AUC)\ncalculation and others. Additionally, package provides set of\nvalidation functions for testing homogeneity, heterogeneity,\ndiscriminatory and predictive power of the model.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/andrija-djurovic/PDtoolkit",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.1.1",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://andrija-djurovic.r-universe.dev",
  "Date/Publication": "2025-12-09 10:29:28 UTC",
  "RemoteUrl": "https://github.com/andrija-djurovic/pdtoolkit",
  "RemoteRef": "HEAD",
  "RemoteSha": "5f86b4c5cb420952d13613a25b3ce1e110824a51",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-09 10:37:50 UTC",
    "User": "root"
  },
  "Author": "Andrija Djurovic [aut, cre]",
  "MD5sum": "ebf997508eba1913b0ae922443af8386",
  "_user": "andrija-djurovic",
  "_type": "src",
  "_file": "PDtoolkit_1.2.1.tar.gz",
  "_fileid": "445e99205a9398be6d1fbe8c5d78b1270f2f3b0de70abefa2a0429ae80a4db0e",
  "_filesize": 493980,
  "_sha256": "445e99205a9398be6d1fbe8c5d78b1270f2f3b0de70abefa2a0429ae80a4db0e",
  "_created": "2026-06-09T10:37:50.000Z",
  "_published": "2026-06-09T10:42:13.274Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80303061142,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7505297107"
    },
    {
      "job": 80303061184,
      "time": 170,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7505300923"
    },
    {
      "job": 80303061252,
      "time": 142,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7505313262"
    },
    {
      "job": 80303061206,
      "time": 160,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7505318887"
    },
    {
      "job": 80302399976,
      "time": 237,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7505243176"
    },
    {
      "job": 80303061159,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7505285769"
    },
    {
      "job": 80303061168,
      "time": 173,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7505301647"
    },
    {
      "job": 80303061186,
      "time": 119,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7505284246"
    },
    {
      "job": 80303061236,
      "time": 143,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7505291638"
    }
  ],
  "_buildurl": "https://github.com/r-universe/andrija-djurovic/actions/runs/27200306630",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/andrija-djurovic/pdtoolkit",
  "_commit": {
    "id": "5f86b4c5cb420952d13613a25b3ce1e110824a51",
    "author": "Andrija Djurovic <djandrija@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update NEWS.md",
    "time": 1765276168
  },
  "_maintainer": {
    "name": "Andrija Djurovic",
    "email": "djandrija@gmail.com",
    "login": "andrija-djurovic",
    "linkedin": "in/andrija-djurovic",
    "description": "",
    "uuid": 85941317
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "monobin",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "rpart",
      "role": "Imports"
    }
  ],
  "_owner": "andrija-djurovic",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-41",
      "n": 4
    },
    {
      "week": "2025-50",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 17,
  "_contributors": [
    {
      "user": "andrija-djurovic",
      "count": 525,
      "uuid": 85941317
    }
  ],
  "_userbio": {
    "uuid": 85941317,
    "type": "user",
    "name": "Andrija Djurovic"
  },
  "_downloads": {
    "count": 207,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PDtoolkit"
  },
  "_devurl": "https://github.com/andrija-djurovic/pdtoolkit",
  "_searchresults": 112,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/PDtoolkit.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/andrija-djurovic/pdtoolkit",
  "_realowner": "andrija-djurovic",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.9",
      "date": "2022-01-04"
    },
    {
      "version": "0.1.0",
      "date": "2022-02-04"
    },
    {
      "version": "0.2.0",
      "date": "2022-03-06"
    },
    {
      "version": "0.3.0",
      "date": "2022-04-27"
    },
    {
      "version": "0.4.0",
      "date": "2022-06-06"
    },
    {
      "version": "1.0.0",
      "date": "2022-11-16"
    },
    {
      "version": "1.0.1",
      "date": "2023-02-14"
    },
    {
      "version": "1.1.0",
      "date": "2023-04-07"
    },
    {
      "version": "1.1.1",
      "date": "2023-08-16"
    },
    {
      "version": "1.2.0",
      "date": "2023-09-20"
    }
  ],
  "_exports": [
    "auc.model",
    "bivariate",
    "boots.vld",
    "cat.bin",
    "cat.slice",
    "confusion.matrix",
    "constrained.logit",
    "create.partitions",
    "cutoff.palette",
    "decision.tree",
    "dp.testing",
    "embedded.blocks",
    "encode.woe",
    "ensemble.blocks",
    "evrs",
    "fairness.vld",
    "heterogeneity",
    "hhi",
    "homogeneity",
    "imp.outliers",
    "imp.sc",
    "interaction.transformer",
    "kfold.idx",
    "kfold.vld",
    "normal.test",
    "num.slice",
    "nzv",
    "power",
    "pp.testing",
    "psi",
    "replace.woe",
    "rf.clustering",
    "rf.interaction.transformer",
    "rs.calibration",
    "scaled.score",
    "segment.vld",
    "smote",
    "staged.blocks",
    "stepFWD",
    "stepFWDr",
    "stepMIV",
    "stepRPC",
    "stepRPCr",
    "univariate",
    "ush.bin",
    "ush.test",
    "woe.tbl"
  ],
  "_datasets": [
    {
      "name": "loans",
      "title": "German Credit Data",
      "object": "loans",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Creditability",
        "Account Balance",
        "Duration of Credit (month)",
        "Payment Status of Previous Credit",
        "Purpose",
        "Credit Amount",
        "Value Savings/Stocks",
        "Length of current employment",
        "Instalment per cent",
        "Sex & Marital Status",
        "Guarantors",
        "Duration in Current address",
        "Most valuable available asset",
        "Age (years)",
        "Concurrent Credits",
        "Type of apartment",
        "No of Credits at this Bank",
        "Occupation",
        "No of dependents",
        "Telephone",
        "Foreign Worker"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "auc.model",
      "title": "Area under curve (AUC)",
      "topics": [
        "auc.model"
      ]
    },
    {
      "page": "bivariate",
      "title": "Bivariate analysis",
      "topics": [
        "bivariate"
      ]
    },
    {
      "page": "boots.vld",
      "title": "Bootstrap model validation",
      "topics": [
        "boots.vld"
      ]
    },
    {
      "page": "cat.bin",
      "title": "Categorical risk factor binning",
      "topics": [
        "cat.bin"
      ]
    },
    {
      "page": "cat.slice",
      "title": "Slice categorical variable",
      "topics": [
        "cat.slice"
      ]
    },
    {
      "page": "confusion.matrix",
      "title": "Confusion matrix",
      "topics": [
        "confusion.matrix"
      ]
    },
    {
      "page": "constrained.logit",
      "title": "Constrained logistic regression",
      "topics": [
        "constrained.logit"
      ]
    },
    {
      "page": "create.partitions",
      "title": "Create partitions (aka nested dummy variables)",
      "topics": [
        "create.partitions"
      ]
    },
    {
      "page": "cutoff.palette",
      "title": "Palette of cutoff values that minimize and maximize metrics from the confusion matrix",
      "topics": [
        "cutoff.palette"
      ]
    },
    {
      "page": "decision.tree",
      "title": "Custom decision tree algorithm",
      "topics": [
        "decision.tree"
      ]
    },
    {
      "page": "dp.testing",
      "title": "Testing the discriminatory power of PD rating model",
      "topics": [
        "dp.testing"
      ]
    },
    {
      "page": "embedded.blocks",
      "title": "Embedded blocks regression",
      "topics": [
        "embedded.blocks"
      ]
    },
    {
      "page": "encode.woe",
      "title": "Encode WoE",
      "topics": [
        "encode.woe"
      ]
    },
    {
      "page": "ensemble.blocks",
      "title": "Ensemble blocks regression",
      "topics": [
        "ensemble.blocks"
      ]
    },
    {
      "page": "evrs",
      "title": "Modelling the Economic Value of Credit Rating System",
      "topics": [
        "evrs"
      ]
    },
    {
      "page": "fairness.vld",
      "title": "Model fairness validation",
      "topics": [
        "fairness.vld"
      ]
    },
    {
      "page": "heterogeneity",
      "title": "Testing heterogeneity of the PD rating model",
      "topics": [
        "heterogeneity"
      ]
    },
    {
      "page": "hhi",
      "title": "Herfindahl-Hirschman Index (HHI)",
      "topics": [
        "hhi"
      ]
    },
    {
      "page": "homogeneity",
      "title": "Testing homogeneity of the PD rating model",
      "topics": [
        "homogeneity"
      ]
    },
    {
      "page": "imp.outliers",
      "title": "Imputation methods for outliers",
      "topics": [
        "imp.outliers"
      ]
    },
    {
      "page": "imp.sc",
      "title": "Imputation methods for special cases",
      "topics": [
        "imp.sc"
      ]
    },
    {
      "page": "interaction.transformer",
      "title": "Extract risk factors interaction from decision tree",
      "topics": [
        "interaction.transformer"
      ]
    },
    {
      "page": "kfold.idx",
      "title": "Indices for K-fold validation",
      "topics": [
        "kfold.idx"
      ]
    },
    {
      "page": "kfold.vld",
      "title": "K-fold model cross-validation",
      "topics": [
        "kfold.vld"
      ]
    },
    {
      "page": "loans",
      "title": "German Credit Data",
      "topics": [
        "loans"
      ]
    },
    {
      "page": "normal.test",
      "title": "Multi-period predictive power test",
      "topics": [
        "normal.test"
      ]
    },
    {
      "page": "num.slice",
      "title": "Slice numeric variable",
      "topics": [
        "num.slice"
      ]
    },
    {
      "page": "nzv",
      "title": "Near-zero variance",
      "topics": [
        "nzv"
      ]
    },
    {
      "page": "power",
      "title": "Power of statistical tests for predictive ability testing",
      "topics": [
        "power"
      ]
    },
    {
      "page": "pp.testing",
      "title": "Testing the predictive power of PD rating model",
      "topics": [
        "pp.testing"
      ]
    },
    {
      "page": "predict.cdt",
      "title": "Predict method for custom decision tree",
      "topics": [
        "predict.cdt"
      ]
    },
    {
      "page": "psi",
      "title": "Population Stability Index (PSI)",
      "topics": [
        "psi"
      ]
    },
    {
      "page": "replace.woe",
      "title": "Replace modalities of risk factor with weights of evidence (WoE) value",
      "topics": [
        "replace.woe"
      ]
    },
    {
      "page": "rf.clustering",
      "title": "Risk factor clustering",
      "topics": [
        "rf.clustering"
      ]
    },
    {
      "page": "rf.interaction.transformer",
      "title": "Extract interactions from random forest",
      "topics": [
        "rf.interaction.transformer"
      ]
    },
    {
      "page": "rs.calibration",
      "title": "Calibration of the rating scale",
      "topics": [
        "rs.calibration"
      ]
    },
    {
      "page": "scaled.score",
      "title": "Scaling the probabilities",
      "topics": [
        "scaled.score"
      ]
    },
    {
      "page": "segment.vld",
      "title": "Model segment validation",
      "topics": [
        "segment.vld"
      ]
    },
    {
      "page": "smote",
      "title": "Synthetic Minority Oversampling Technique (SMOTE)",
      "topics": [
        "smote"
      ]
    },
    {
      "page": "staged.blocks",
      "title": "Staged blocks regression",
      "topics": [
        "staged.blocks"
      ]
    },
    {
      "page": "stepFWD",
      "title": "Customized stepwise regression with p-value and trend check",
      "topics": [
        "stepFWD"
      ]
    },
    {
      "page": "stepFWDr",
      "title": "Customized stepwise regression with p-value and trend check on raw risk factors",
      "topics": [
        "stepFWDr"
      ]
    },
    {
      "page": "stepMIV",
      "title": "Stepwise logistic regression based on marginal information value (MIV)",
      "topics": [
        "stepMIV"
      ]
    },
    {
      "page": "stepRPC",
      "title": "Stepwise logistic regression based on risk profile concept",
      "topics": [
        "stepRPC"
      ]
    },
    {
      "page": "stepRPCr",
      "title": "Stepwise regression based on risk profile concept and raw risk factors",
      "topics": [
        "stepRPCr"
      ]
    },
    {
      "page": "univariate",
      "title": "Univariate analysis",
      "topics": [
        "univariate"
      ]
    },
    {
      "page": "ush.bin",
      "title": "U-shape binning algorithm",
      "topics": [
        "ush.bin"
      ]
    },
    {
      "page": "ush.test",
      "title": "Testing for U-shape relation",
      "topics": [
        "ush.test"
      ]
    },
    {
      "page": "woe.tbl",
      "title": "Weights of evidence (WoE) table",
      "topics": [
        "woe.tbl"
      ]
    }
  ],
  "_readme": "https://github.com/andrija-djurovic/pdtoolkit/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "base64enc",
    "bslib",
    "cachem",
    "checkmate",
    "cli",
    "cluster",
    "colorspace",
    "cpp11",
    "data.table",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreign",
    "Formula",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "monobin",
    "nnet",
    "pillar",
    "pkgconfig",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "rlang",
    "rmarkdown",
    "rpart",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_score": 5.279666944048456,
  "_indexed": true,
  "_nocasepkg": "pdtoolkit",
  "_universes": [
    "andrija-djurovic"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-06-09T10:40:02.000Z",
      "distro": "noble",
      "commit": "5f86b4c5cb420952d13613a25b3ce1e110824a51",
      "fileid": "98680a8cc4b20afeab2319445c02d06cd05802cf557b6c086c5508f6fb1b8453",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/andrija-djurovic/actions/runs/27200306630"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-06-09T10:40:05.000Z",
      "distro": "noble",
      "commit": "5f86b4c5cb420952d13613a25b3ce1e110824a51",
      "fileid": "315de02c5b87f3f33751d29f7adf994d34127a9f88ce4469772a2e22a31bab30",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/andrija-djurovic/actions/runs/27200306630"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-06-09T10:40:53.000Z",
      "commit": "5f86b4c5cb420952d13613a25b3ce1e110824a51",
      "fileid": "4cf78ff015a4ebf1c7ae8e859fbf296f7946aed27c4a7810895a6031d203807f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/andrija-djurovic/actions/runs/27200306630"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-06-09T10:41:01.000Z",
      "commit": "5f86b4c5cb420952d13613a25b3ce1e110824a51",
      "fileid": "596b9a679e5318136ff44e83d9142390b8d4554ef62e15bf6ad7a4c50370ca99",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/andrija-djurovic/actions/runs/27200306630"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.1",
      "date": "2026-06-09T10:40:17.000Z",
      "commit": "5f86b4c5cb420952d13613a25b3ce1e110824a51",
      "fileid": "9299850348b5165222c75b4f5e25f416dc418e3c8d01d95e210bc0f282169631",
      "status": "success",
      "buildurl": "https://github.com/r-universe/andrija-djurovic/actions/runs/27200306630"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-06-09T10:39:44.000Z",
      "commit": "5f86b4c5cb420952d13613a25b3ce1e110824a51",
      "fileid": "00f4442fcbd0c9cd712d8fb9f2b50cf4d31341ef2b334b909e4b2fb03863ad76",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/andrija-djurovic/actions/runs/27200306630"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-06-09T10:39:00.000Z",
      "commit": "5f86b4c5cb420952d13613a25b3ce1e110824a51",
      "fileid": "2412afa6cf79c20ee6c30b9326bacb76c37d4ab5c992c05ae0d54616a77bc833",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/andrija-djurovic/actions/runs/27200306630"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-06-09T10:39:20.000Z",
      "commit": "5f86b4c5cb420952d13613a25b3ce1e110824a51",
      "fileid": "ff29be736b06d2f486a7e745224bf997d4d7776572a0948b1f2feb4d9682b652",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/andrija-djurovic/actions/runs/27200306630"
    }
  ]
}