{
  "_id": "6af6388db90b31e79afd6a6f",
  "Package": "baggingReserve",
  "Title": "Bagging and Regression Trees for Individual Claims Reserving",
  "Version": "0.2.0",
  "Authors@R": "c(\nperson(\"Jan\", \"Janoušek\", email = \"janousek@karlin.mff.cuni.cz\",\nrole = c(\"aut\", \"cre\"), comment = c(ORCID = \"0009-0007-3731-4416\")),\nperson(\"Michal\", \"Pešta\", email = \"pesta@karlin.mff.cuni.cz\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-5311-0797\")))",
  "Description": "Claim-level (individual) loss reserving in non-life\ninsurance, and the means to check claim-level reserves against\nthe payments that followed. A data contract turns a table of\nclaims and a table of payment transactions into a\nclaim-by-development-year panel at a valuation date; a\nrecursion engine completes the payment history of every\nreported claim one development year ahead, with plugged-in\nmeans or simulated payments, for regression trees, their\nbootstrap aggregation (bagging) and user-supplied learners;\npayments for incurred-but-not-reported claims are added from\nchain-ladder claim counts and the average predicted payment per\ndevelopment year; and back-tests score a prediction and a\nreference method such as the chain ladder against realised\npayments by calendar year and component. The default estimator\nis the method of Janoušek and Pešta (2025)\n<doi:10.1007/s00362-025-01715-9>, one regression tree per\ndevelopment year with bagging for replicate predictions, whose\nspread describes the bootstrap resampling variation of the\npredictions of (by default unpruned) trees, and an out-of-bag\ndiagnostic of the one-year regressions; for totals beyond next\nyear simulated instead of plugged-in completion is recommended.\nShips a reproducible synthetic individual-claims dataset\ngenerated with the individual claims simulator of Wang and\nWüthrich, built on 'SynthETIC'.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/HeirOfIsildur/baggingReserve",
  "BugReports": "https://github.com/HeirOfIsildur/baggingReserve/issues",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr, R.rsp",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "LazyDataCompression": "xz",
  "Config/roxygen2/version": "8.1.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-12 22:01:55 UTC",
    "User": "root"
  },
  "Author": "Jan Janoušek [aut, cre] (ORCID:\n<https://orcid.org/0009-0007-3731-4416>), Michal Pešta [aut]\n(ORCID: <https://orcid.org/0000-0001-5311-0797>)",
  "Maintainer": "Jan Janoušek <janousek@karlin.mff.cuni.cz>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-12 15:10:08 UTC",
  "RemoteUrl": "https://github.com/cran/baggingReserve",
  "RemoteRef": "HEAD",
  "RemoteSha": "760786b8fac3673a6e462086b14b6d650c200f20",
  "_user": "cran",
  "_type": "src",
  "_file": "baggingReserve_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/015c74a2249b87e8743f63f5a18325b3126f0c085bca13a07239565e7f72c6e3",
  "_filesize": 2374921,
  "_sha256": "015c74a2249b87e8743f63f5a18325b3126f0c085bca13a07239565e7f72c6e3",
  "_expires": "2027-02-20T22:07:07.000Z",
  "_created": "2026-11-12T22:01:55.000Z",
  "_published": "2026-11-12T22:07:09.631Z",
  "_upstream": "https://github.com/cran/baggingReserve",
  "_status": "success",
  "_maintainer": {
    "name": "Jan Janoušek",
    "email": "janousek@karlin.mff.cuni.cz",
    "orcid": "0009-0007-3731-4416"
  },
  "_jobs": [
    {
      "job": 131524390458,
      "time": 167,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13988586650"
    },
    {
      "job": 131524390457,
      "time": 188,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13987254885"
    },
    {
      "job": 131521926758,
      "time": 261,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13987144842"
    },
    {
      "job": 131524390348,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13988062650"
    },
    {
      "job": 131524390623,
      "time": 253,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13988946485"
    },
    {
      "job": 131524390492,
      "time": 267,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13987439812"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/43315316433",
  "_commit": {
    "id": "760786b8fac3673a6e462086b14b6d650c200f20",
    "author": "Jan Janoušek <janousek@karlin.mff.cuni.cz>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.0\n",
    "time": 1794496208
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "codetools",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "rpart",
      "role": "Imports"
    },
    {
      "package": "rngtools",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "ChainLadder",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "R.rsp",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-46",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.0",
      "date": "2026-11-12"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 637,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/baggingReserve"
  },
  "_devurl": "https://github.com/heirofisildur/baggingreserve",
  "_searchresults": 2,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/baggingReserve.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2026-11-12"
    }
  ],
  "_exports": [
    "as_triangle",
    "backtest",
    "bag_reserve",
    "calendar_year_payments",
    "chain_ladder",
    "chain_ladder_calendar",
    "claim_counts",
    "claim_reserves",
    "claims_panel",
    "ibnr_reserve",
    "oob_score",
    "reserve_tree",
    "two_part_learner"
  ],
  "_datasets": [
    {
      "name": "synthetic_claims",
      "title": "Synthetic individual claims observed at the reserving date",
      "object": "synthetic_claims",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Id",
        "Type",
        "Age",
        "AccDate",
        "AccYear",
        "AccWeekday",
        "RepDate",
        "RepYear",
        "RepDelDays",
        "SetYear",
        "SetDel",
        "Status",
        "CumPaid",
        "RepDel"
      ],
      "rows": 71117,
      "table": true,
      "tojson": true
    },
    {
      "name": "synthetic_claims_full",
      "title": "Synthetic individual claims: the generated truth",
      "object": "synthetic_claims_full",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Id",
        "Type",
        "Age",
        "AccDate",
        "AccYear",
        "AccWeekday",
        "RepDate",
        "RepYear",
        "RepDelDays",
        "SetYear",
        "SetDel",
        "Ultimate",
        "PayCount",
        "ReopenInd",
        "RepDel"
      ],
      "rows": 73705,
      "table": true,
      "tojson": true
    },
    {
      "name": "synthetic_payments",
      "title": "Synthetic claim payments observed at the reserving date",
      "object": "synthetic_payments",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Id",
        "EventId",
        "EventYear",
        "Paid",
        "PayInd",
        "OpenInd"
      ],
      "rows": 85506,
      "table": true,
      "tojson": true
    },
    {
      "name": "synthetic_payments_full",
      "title": "Synthetic claim payments: the generated truth",
      "object": "synthetic_payments_full",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Id",
        "EventId",
        "EventYear",
        "Paid",
        "PayInd",
        "OpenInd"
      ],
      "rows": 100614,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as_triangle",
      "title": "Run-off triangles of a claims panel or a reserve prediction",
      "topics": [
        "as_triangle",
        "as_triangle.chain_ladder",
        "as_triangle.claims_panel",
        "as_triangle.reserve_prediction",
        "claim_counts",
        "print.reserve_triangle"
      ]
    },
    {
      "page": "as.data.frame.reserve_prediction",
      "title": "Data frames of predictions and back-tests",
      "topics": [
        "as.data.frame.reserve_backtest",
        "as.data.frame.reserve_prediction"
      ]
    },
    {
      "page": "backtest",
      "title": "Back-test a reserve prediction against realised payments",
      "topics": [
        "backtest"
      ]
    },
    {
      "page": "bag_reserve",
      "title": "Fit bootstrap regression trees and complete reserve replicates",
      "topics": [
        "bag_reserve",
        "summary.bag_reserve"
      ]
    },
    {
      "page": "calendar_year_payments",
      "title": "Payments by future calendar year",
      "topics": [
        "calendar_year_payments",
        "calendar_year_payments.default",
        "calendar_year_payments.reserve_prediction"
      ]
    },
    {
      "page": "calendar_year_payments.chain_ladder",
      "title": "Future payments of a chain-ladder projection by calendar year",
      "topics": [
        "calendar_year_payments.chain_ladder"
      ]
    },
    {
      "page": "chain_ladder",
      "title": "Chain-ladder projection of a run-off triangle",
      "topics": [
        "chain_ladder"
      ]
    },
    {
      "page": "claim_reserves",
      "title": "Reserves of the individual reported claims",
      "topics": [
        "claim_reserves"
      ]
    },
    {
      "page": "claims_panel",
      "title": "Build a claim-by-development panel from individual claims and payments",
      "topics": [
        "as.data.frame.claims_panel",
        "claims_panel",
        "summary.claims_panel"
      ]
    },
    {
      "page": "ibnr_reserve",
      "title": "Payments of the claims incurred but not reported",
      "topics": [
        "ibnr_reserve"
      ]
    },
    {
      "page": "oob_score",
      "title": "Out-of-bag diagnostics of a bagged fit",
      "topics": [
        "oob_score"
      ]
    },
    {
      "page": "plot.bag_reserve",
      "title": "Plot the out-of-bag scores of a bagged fit",
      "topics": [
        "plot.bag_reserve"
      ]
    },
    {
      "page": "plot.reserve_prediction",
      "title": "Plot a reserve prediction",
      "topics": [
        "plot.reserve_prediction"
      ]
    },
    {
      "page": "plot.reserve_tree",
      "title": "Plot the tree of one development year of a fit",
      "topics": [
        "plot.reserve_tree"
      ]
    },
    {
      "page": "predict.bag_reserve",
      "title": "Predictions of a bagged fit",
      "topics": [
        "predict.bag_reserve"
      ]
    },
    {
      "page": "predict.reserve_tree",
      "title": "Predicted future payments of the reported claims",
      "topics": [
        "predict.reserve_tree",
        "reserve_prediction"
      ]
    },
    {
      "page": "reserve_tree",
      "title": "Fit one regression tree per development year",
      "topics": [
        "reserve_tree",
        "summary.reserve_tree"
      ]
    },
    {
      "page": "summary.reserve_prediction",
      "title": "Summarise a reserve prediction over its replicates",
      "topics": [
        "summary.reserve_prediction"
      ]
    },
    {
      "page": "synthetic_claims",
      "title": "Synthetic individual claims observed at the reserving date",
      "concept": [
        "synthetic data"
      ],
      "topics": [
        "synthetic_claims"
      ]
    },
    {
      "page": "synthetic_claims_full",
      "title": "Synthetic individual claims: the generated truth",
      "concept": [
        "synthetic data"
      ],
      "topics": [
        "synthetic_claims_full"
      ]
    },
    {
      "page": "synthetic_payments",
      "title": "Synthetic claim payments observed at the reserving date",
      "concept": [
        "synthetic data"
      ],
      "topics": [
        "synthetic_payments"
      ]
    },
    {
      "page": "synthetic_payments_full",
      "title": "Synthetic claim payments: the generated truth",
      "concept": [
        "synthetic data"
      ],
      "topics": [
        "synthetic_payments_full"
      ]
    },
    {
      "page": "two_part_learner",
      "title": "A two-part learner: whether a claim pays, and how much",
      "topics": [
        "two_part_learner"
      ]
    }
  ],
  "_readme": "https://github.com/cran/baggingReserve/raw/HEAD/README.md",
  "_rundeps": [
    "codetools",
    "digest",
    "rngtools",
    "rpart",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "baggingReserve-jss.pdf.asis",
      "filename": "baggingReserve-jss.pdf",
      "title": "baggingReserve: Bagging and Regression Trees for Individual Claims Reserving in R (JSS manuscript)",
      "engine": "R.rsp::asis",
      "headings": [
        "Introduction",
        "Reserving with regression trees and bagging",
        "Package design",
        "Illustration",
        "Summary and discussion"
      ],
      "created": "2026-11-12 15:10:08",
      "modified": "2026-11-12 15:10:08",
      "commits": 1
    },
    {
      "source": "baggingReserve.Rnw",
      "filename": "baggingReserve.pdf",
      "title": "Claim-level reserving and back-testing: a short tour",
      "engine": "knitr::knitr",
      "headings": [],
      "created": "2026-11-12 15:10:08",
      "modified": "2026-11-12 15:10:08",
      "commits": 1
    }
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "baggingreserve",
  "_universes": [
    "cran",
    "heirofisildur"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-11-12T22:04:15.000Z",
      "distro": "resolute",
      "commit": "760786b8fac3673a6e462086b14b6d650c200f20",
      "fileid": "https://r2.ropensci.org/27e048b86cd202099ecb9a772d5fb7feeeb908e8d5272ab38e85d9b0592c5dc5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43315316433"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-11-12T22:04:40.000Z",
      "distro": "resolute",
      "commit": "760786b8fac3673a6e462086b14b6d650c200f20",
      "fileid": "https://r2.ropensci.org/9a80d727f23dcfd207655a5f50566115203ee0d7a47335860f1bc447dd65d01f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43315316433"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-11-12T22:04:08.000Z",
      "commit": "760786b8fac3673a6e462086b14b6d650c200f20",
      "fileid": "https://r2.ropensci.org/b2a6c55d6a09229e2a79ea20e6abfd34e0aa78e5d5bb7135a1fc195b09e6816f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43315316433"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-11-12T22:04:38.000Z",
      "commit": "760786b8fac3673a6e462086b14b6d650c200f20",
      "fileid": "https://r2.ropensci.org/e35ff00af804f0dcd69b9f14eff7ee9e3d496916188a7667fdc64aef48dba6a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43315316433"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-11-12T22:04:55.000Z",
      "commit": "760786b8fac3673a6e462086b14b6d650c200f20",
      "fileid": "https://r2.ropensci.org/051085b4b771ea0399d44cccab3fb64b2c32ff9c4360662d5859eacd7f312e6a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43315316433"
    }
  ]
}