{
  "_id": "6a4862f5e06c18f0a6537f2e",
  "Package": "bayesRecon",
  "Type": "Package",
  "Date": "2026-04-16",
  "Title": "Probabilistic Reconciliation via Conditioning",
  "Version": "1.0.1",
  "Authors@R": "c(person(given = \"Dario\",\nfamily = \"Azzimonti\",\nrole = c(\"aut\",\"cre\"),\nemail = \"dario.azzimonti@gmail.com\",\ncomment = c(ORCID = \"0000-0001-5080-3061\")),\nperson(given = \"Lorenzo\",\nfamily = \"Zambon\",\nrole = c(\"aut\"),\nemail = \"lorenzo.zambon@idsia.ch\",\ncomment = c(ORCID = \"0000-0002-8939-993X\")),\nperson(given = \"Stefano\",\nfamily = \"Damato\",\nrole = c(\"aut\"),\nemail = \"stefano.damato@idsia.ch\",\ncomment = c(ORCID = \"0009-0001-0225-3736\")),\nperson(given = \"Nicolò\",\nfamily = \"Rubattu\",\nrole = c(\"aut\"),\nemail = \"nicolo.rubattu@idsia.ch\",\ncomment = c(ORCID = \"0000-0002-2703-1005\")),\nperson(given = \"Giorgio\",\nfamily = \"Corani\",\nrole = c(\"aut\"),\nemail = \"giorgio.corani@idsia.ch\",\ncomment = c(ORCID = \"0000-0002-1541-8384\")))",
  "Maintainer": "Dario Azzimonti <dario.azzimonti@gmail.com>",
  "Description": "Provides methods for probabilistic reconciliation of\nhierarchical forecasts of time series. The available methods\ninclude analytical Gaussian reconciliation (Corani et al.,\n2021) <doi:10.1007/978-3-030-67664-3_13>, MCMC reconciliation\nof count time series (Corani et al., 2024)\n<doi:10.1016/j.ijforecast.2023.04.003>, Bottom-Up Importance\nSampling (Zambon et al., 2024)\n<doi:10.1007/s11222-023-10343-y>, methods for the\nreconciliation of mixed hierarchies (Mix-Cond and TD-cond)\n(Zambon et al., 2024)\n<https://proceedings.mlr.press/v244/zambon24a.html>, analytical\nreconciliation with Bayesian treatment of the covariance matrix\n(Carrara et al., 2025) <doi: 10.48550/arXiv.2506.19554>.",
  "License": "LGPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown=TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/IDSIA/bayesRecon,\nhttps://idsia.github.io/bayesRecon/",
  "BugReports": "https://github.com/IDSIA/bayesRecon/issues",
  "Config/pak/sysreqs": "cmake",
  "Repository": "https://idsia.r-universe.dev",
  "Date/Publication": "2026-04-28 13:27:06 UTC",
  "RemoteUrl": "https://github.com/idsia/bayesrecon",
  "RemoteRef": "HEAD",
  "RemoteSha": "92ebfba9feb85aa015a025fbdc2bb7b92f074f67",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-04 01:29:21 UTC",
    "User": "root"
  },
  "Author": "Dario Azzimonti [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-5080-3061>),\nLorenzo Zambon [aut] (ORCID: <https://orcid.org/0000-0002-8939-993X>),\nStefano Damato [aut] (ORCID: <https://orcid.org/0009-0001-0225-3736>),\nNicolò Rubattu [aut] (ORCID: <https://orcid.org/0000-0002-2703-1005>),\nGiorgio Corani [aut] (ORCID: <https://orcid.org/0000-0002-1541-8384>)",
  "_user": "idsia",
  "_type": "src",
  "_file": "bayesRecon_1.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/193c79fec390b707a73529babae68f6d31d56dd8df890a1badd95624da603658",
  "_filesize": 4242533,
  "_sha256": "193c79fec390b707a73529babae68f6d31d56dd8df890a1badd95624da603658",
  "_expires": "2026-10-12T01:33:39.000Z",
  "_created": "2026-07-04T01:29:21.000Z",
  "_published": "2026-07-04T01:33:41.206Z",
  "_jobs": [
    {
      "job": 85091595334,
      "time": 217,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8077077548"
    },
    {
      "job": 85091595331,
      "time": 188,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8077074162"
    },
    {
      "job": 85091595336,
      "time": 193,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8077070567"
    },
    {
      "job": 85091595341,
      "time": 157,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8077068726"
    },
    {
      "job": 85091279691,
      "time": 303,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8077053052"
    },
    {
      "job": 85091595333,
      "time": 150,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8077069819"
    },
    {
      "job": 85091595342,
      "time": 154,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8077070264"
    },
    {
      "job": 85091595330,
      "time": 166,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8077071852"
    },
    {
      "job": 85091595335,
      "time": 149,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8077069701"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/idsia/actions/runs/28690669799",
  "_status": "success",
  "_upstream": "https://github.com/idsia/bayesrecon",
  "_commit": {
    "id": "92ebfba9feb85aa015a025fbdc2bb7b92f074f67",
    "author": "Dario Azzimonti <dario.azzimonti@gmail.com>",
    "committer": "Dario Azzimonti <dario.azzimonti@gmail.com>",
    "message": "Updated vignette\n",
    "time": 1777382826
  },
  "_maintainer": {
    "name": "Dario Azzimonti",
    "email": "dario.azzimonti@gmail.com",
    "login": "dazzimonti",
    "orcid": "0000-0001-5080-3061",
    "description": "Lecturer-Researcher at SUPSI - @IDSIA",
    "uuid": 19173754
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "lpSolve",
      "version": ">= 5.6.18",
      "role": "Imports"
    },
    {
      "package": "nloptr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "forecast",
      "role": "Suggests"
    },
    {
      "package": "glarma",
      "role": "Suggests"
    },
    {
      "package": "scoringRules",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "idsia",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-29",
      "n": 2
    },
    {
      "week": "2025-30",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 4
    },
    {
      "week": "2026-16",
      "n": 2
    },
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "reconciliation",
    "timeseries"
  ],
  "_stars": 9,
  "_contributors": [
    {
      "user": "dazzimonti",
      "count": 119,
      "uuid": 19173754
    },
    {
      "user": "lorenzozambon",
      "count": 114,
      "uuid": 77152345
    },
    {
      "user": "nicorbtt",
      "count": 56,
      "uuid": 61237332
    },
    {
      "user": "gcorani",
      "count": 22,
      "uuid": 18625478
    },
    {
      "user": "stefanodamato",
      "count": 16,
      "uuid": 137187063
    },
    {
      "user": "hadley",
      "count": 3,
      "uuid": 4196
    }
  ],
  "_userbio": {
    "uuid": 11296960,
    "type": "organization",
    "name": "IDSIA",
    "followers": 73,
    "description": "Istituto Dalle Molle di Studi sull'Intelligenza Artificiale "
  },
  "_downloads": {
    "count": 694,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bayesRecon"
  },
  "_devurl": "https://github.com/idsia/bayesrecon",
  "_pkgdown": "https://idsia.github.io/bayesRecon/",
  "_searchresults": 41,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/bayesRecon.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/idsia/bayesrecon",
  "_realowner": "idsia",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2023-05-26"
    },
    {
      "version": "0.1.1",
      "date": "2023-06-10"
    },
    {
      "version": "0.1.2",
      "date": "2023-08-24"
    },
    {
      "version": "0.2.0",
      "date": "2023-12-19"
    },
    {
      "version": "0.3.0",
      "date": "2024-05-29"
    },
    {
      "version": "0.3.1",
      "date": "2024-08-28"
    },
    {
      "version": "0.3.2",
      "date": "2024-11-04"
    },
    {
      "version": "0.3.3",
      "date": "2025-07-21"
    },
    {
      "version": "1.0.0",
      "date": "2026-03-08"
    },
    {
      "version": "1.0.1",
      "date": "2026-04-16"
    }
  ],
  "_exports": [
    ".check_hierarchical",
    ".compute_naive_cov",
    ".core_reconc_BUIS",
    ".core_reconc_MixCond",
    ".core_reconc_t",
    ".core_reconc_TDcond",
    ".get_Au",
    ".get_HG",
    ".lowest_lev",
    "get_reconc_matrices",
    "multi_log_score_optimization",
    "PMF_get_mean",
    "PMF_get_quantile",
    "PMF_get_var",
    "PMF_sample",
    "PMF_summary",
    "reconc_BUIS",
    "reconc_gaussian",
    "reconc_MCMC",
    "reconc_MixCond",
    "reconc_t",
    "reconc_TDcond",
    "schaferStrimmer_cov",
    "temporal_aggregation"
  ],
  "_datasets": [
    {
      "name": "carparts_example",
      "title": "Example of a time series from carparts",
      "object": "carparts_example",
      "class": [
        "ts"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "extr_mkt_events",
      "title": "Extreme market events dataset",
      "object": "extr_mkt_events",
      "class": [
        "mts",
        "ts",
        "matrix"
      ],
      "fields": [
        "ALL",
        "FIN",
        "ICT",
        "MFG",
        "ENG",
        "TRD"
      ],
      "rows": 3508,
      "table": true,
      "tojson": true
    },
    {
      "name": "extr_mkt_events_basefc",
      "title": "Base forecasts for the extreme market events dataset",
      "object": "extr_mkt_events_basefc",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "infantMortality",
      "title": "Infant Mortality grouped time series dataset",
      "object": "infantMortality",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "M3_example",
      "title": "Example of a time series from the M3 forecasting competition",
      "object": "M3_example",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "M5_CA1_basefc",
      "title": "Example of hierarchical forecasts for a store from the M5 competition",
      "object": "M5_CA1_basefc",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "swiss_tourism",
      "title": "Swiss tourism: monthly Swiss overnight stay data",
      "object": "swiss_tourism",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "carparts_example",
      "title": "Example of a time series from carparts",
      "topics": [
        "carparts_example"
      ]
    },
    {
      "page": "extr_mkt_events",
      "title": "Extreme market events dataset",
      "topics": [
        "extr_mkt_events"
      ]
    },
    {
      "page": "extr_mkt_events_basefc",
      "title": "Base forecasts for the extreme market events dataset",
      "topics": [
        "extr_mkt_events_basefc"
      ]
    },
    {
      "page": "get_reconc_matrices",
      "title": "Build hierarchy matrices",
      "topics": [
        "get_reconc_matrices"
      ]
    },
    {
      "page": "infantMortality",
      "title": "Infant Mortality grouped time series dataset",
      "topics": [
        "infantMortality"
      ]
    },
    {
      "page": "M3_example",
      "title": "Example of a time series from the M3 forecasting competition",
      "topics": [
        "M3_example"
      ]
    },
    {
      "page": "M5_CA1_basefc",
      "title": "Example of hierarchical forecasts for a store from the M5 competition",
      "topics": [
        "M5_CA1_basefc"
      ]
    },
    {
      "page": "Mixed_reconciliation",
      "title": "Probabilistic forecast reconciliation of mixed hierarchies",
      "topics": [
        "Mixed_reconciliation",
        "reconc_MixCond",
        "reconc_TDcond"
      ]
    },
    {
      "page": "multi_log_score_optimization",
      "title": "Optimize degrees of freedom (nu) via LOO Cross-Validation",
      "topics": [
        "multi_log_score_optimization"
      ]
    },
    {
      "page": "PMF",
      "title": "PMF operations and utilities",
      "topics": [
        "PMF",
        "PMF_get_mean",
        "PMF_get_quantile",
        "PMF_get_var",
        "PMF_sample",
        "PMF_summary"
      ]
    },
    {
      "page": "reconc_BUIS",
      "title": "BUIS for Probabilistic Reconciliation of forecasts via conditioning",
      "topics": [
        "reconc_BUIS"
      ]
    },
    {
      "page": "reconc_gaussian",
      "title": "Analytical reconciliation of Gaussian base forecasts",
      "topics": [
        "reconc_gaussian"
      ]
    },
    {
      "page": "reconc_MCMC",
      "title": "MCMC for Probabilistic Reconciliation of forecasts via conditioning",
      "topics": [
        "reconc_MCMC"
      ]
    },
    {
      "page": "reconc_t",
      "title": "t-Rec: reconciliation via conditioning with uncertain covariance via multivariate t-distribution",
      "topics": [
        "reconc_t"
      ]
    },
    {
      "page": "schaferStrimmer_cov",
      "title": "Schäfer Strimmer covariance shrinkage",
      "topics": [
        "schaferStrimmer_cov"
      ]
    },
    {
      "page": "swiss_tourism",
      "title": "Swiss tourism: monthly Swiss overnight stay data",
      "topics": [
        "swiss_tourism"
      ]
    },
    {
      "page": "temporal_aggregation",
      "title": "Temporal aggregation of a time series",
      "topics": [
        "temporal_aggregation"
      ]
    }
  ],
  "_pkglogo": "https://github.com/idsia/bayesrecon/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/idsia/bayesrecon/raw/HEAD/README.md",
  "_rundeps": [
    "lpSolve",
    "nloptr"
  ],
  "_vignettes": [
    {
      "source": "bayesRecon.Rmd",
      "filename": "bayesRecon.html",
      "title": "Probabilistic Reconciliation via Conditioning with bayesRecon",
      "author": "Nicolò Rubattu, Giorgio Corani, Dario Azzimonti, Lorenzo Zambon",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Installation",
        "Temporal hierarchy over a count time series",
        "Temporal hierarchy over a smooth time series",
        "Gaussian reconciliation of a cross-sectional hierarchy",
        "References"
      ],
      "created": "2023-07-26 08:25:24",
      "modified": "2026-04-16 09:35:23",
      "commits": 22
    },
    {
      "source": "reconciliation_properties.Rmd",
      "filename": "reconciliation_properties.html",
      "title": "Properties of the reconciled distribution via conditioning",
      "author": "Lorenzo Zambon, Giorgio Corani",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Data and base forecasts",
        "Reconciliation via conditioning",
        "Reconciled mean and variance",
        "References"
      ],
      "created": "2023-12-14 11:11:03",
      "modified": "2026-03-05 23:45:13",
      "commits": 7
    },
    {
      "source": "mixed_reconciliation.Rmd",
      "filename": "mixed_reconciliation.html",
      "title": "Reconciliation of M5 hierarchy with mixed-type forecasts",
      "author": "Dario Azzimonti, Lorenzo Zambon, Nicolò Rubattu, Giorgio Corani",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Data and base forecasts",
        "Gaussian reconciliation",
        "Reconciliation with mixed-conditioning",
        "Top down conditioning",
        "Comparison",
        "Skill scores",
        "Boxplots",
        "Full reproducibility",
        "References"
      ],
      "created": "2024-05-29 15:48:29",
      "modified": "2026-04-16 09:35:23",
      "commits": 6
    },
    {
      "source": "t_reconciliation.Rmd",
      "filename": "t_reconciliation.html",
      "title": "t-Rec: Reconciliation of Gaussian forecasts by modelling the uncertainty on the covariance matrix",
      "author": "Dario Azzimonti, Chiara Carrara, Lorenzo Zambon, Giorgio Corani",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Loading the data",
        "Forecasts",
        "Reconciliation",
        "Comparison of results",
        "Comparison of the covariance matrix estimates",
        "References"
      ],
      "created": "2026-04-16 09:35:23",
      "modified": "2026-04-28 13:27:06",
      "commits": 2
    }
  ],
  "_score": 7.822298871262367,
  "_indexed": true,
  "_nocasepkg": "bayesrecon",
  "_universes": [
    "idsia",
    "dazzimonti"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-07-04T01:31:50.000Z",
      "distro": "resolute",
      "commit": "92ebfba9feb85aa015a025fbdc2bb7b92f074f67",
      "fileid": "https://r2.ropensci.org/ce93f36d24de5973f0d982d9187dd665fbf4e7249f6b248d6430b2ab109c4b22",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/idsia/actions/runs/28690669799"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-07-04T01:31:25.000Z",
      "distro": "resolute",
      "commit": "92ebfba9feb85aa015a025fbdc2bb7b92f074f67",
      "fileid": "https://r2.ropensci.org/1e898b5d69636ff54a61047999b1d24021b301302f88170e6aedb440e4aa63e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/idsia/actions/runs/28690669799"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-07-04T01:31:24.000Z",
      "commit": "92ebfba9feb85aa015a025fbdc2bb7b92f074f67",
      "fileid": "https://r2.ropensci.org/b82ba90588d9560e371a188dfc5f5b056da344d97f3b866472087b7f3da7a616",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/idsia/actions/runs/28690669799"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-07-04T01:31:09.000Z",
      "commit": "92ebfba9feb85aa015a025fbdc2bb7b92f074f67",
      "fileid": "https://r2.ropensci.org/1738cf0247ed1cb83d956eb8053716772f24c87eec3d58e2112d6870ee61b51d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/idsia/actions/runs/28690669799"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-07-04T01:32:09.000Z",
      "commit": "92ebfba9feb85aa015a025fbdc2bb7b92f074f67",
      "fileid": "https://r2.ropensci.org/effaae2d6a8f5dec72494a33146d3b574727804d83b640518c81c5e7b3eeb54d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/idsia/actions/runs/28690669799"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-07-04T01:30:35.000Z",
      "commit": "92ebfba9feb85aa015a025fbdc2bb7b92f074f67",
      "fileid": "https://r2.ropensci.org/5c535d2683dba77106a3537851d40790cd5a7218efdaf55417980a9047baa75a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/idsia/actions/runs/28690669799"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-07-04T01:30:49.000Z",
      "commit": "92ebfba9feb85aa015a025fbdc2bb7b92f074f67",
      "fileid": "https://r2.ropensci.org/d144a6f8c12d415fa6992d743468848ae5222d6bd7a15b7a4d33612c600c337c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/idsia/actions/runs/28690669799"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-07-04T01:30:32.000Z",
      "commit": "92ebfba9feb85aa015a025fbdc2bb7b92f074f67",
      "fileid": "https://r2.ropensci.org/cab2430c61623d1ec22febcdcea22697030399a47ae5198fc6801f487e9b2f4b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/idsia/actions/runs/28690669799"
    }
  ]
}