{
  "_id": "6a17df52acfb0bcc41d9d59b",
  "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-05-28 06:16:36 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>)",
  "MD5sum": "b9fdeb873e34616b44abd533541263b3",
  "_user": "idsia",
  "_type": "src",
  "_file": "bayesRecon_1.0.1.tar.gz",
  "_fileid": "6cdf732e56014e9d846d553bd7a977a2ca989f744a82a78a1bb1fa09a34263b0",
  "_filesize": 4246367,
  "_sha256": "6cdf732e56014e9d846d553bd7a977a2ca989f744a82a78a1bb1fa09a34263b0",
  "_created": "2026-05-28T06:16:36.000Z",
  "_published": "2026-05-28T06:23:14.162Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78234759135,
      "time": 212,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7259020991"
    },
    {
      "job": 78234759140,
      "time": 197,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259017465"
    },
    {
      "job": 78234759169,
      "time": 229,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7259045270"
    },
    {
      "job": 78234759115,
      "time": 195,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259033938"
    },
    {
      "job": 78234127556,
      "time": 319,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7258969814"
    },
    {
      "job": 78234759121,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7258997074"
    },
    {
      "job": 78234759132,
      "time": 164,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7259009656"
    },
    {
      "job": 78234759134,
      "time": 161,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7259009097"
    },
    {
      "job": 78234759156,
      "time": 167,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259010519"
    }
  ],
  "_buildurl": "https://github.com/r-universe/idsia/actions/runs/26558036597",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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": 0,
  "_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": 8,
  "_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",
    "description": "Istituto Dalle Molle di Studi sull'Intelligenza Artificiale "
  },
  "_downloads": {
    "count": 672,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bayesRecon"
  },
  "_devurl": "https://github.com/idsia/bayesrecon",
  "_pkgdown": "https://idsia.github.io/bayesRecon/",
  "_searchresults": 37,
  "_rbuild": "4.6.0",
  "_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.249442961442583,
  "_indexed": true,
  "_nocasepkg": "bayesrecon",
  "_universes": [
    "idsia",
    "dazzimonti"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-28T06:19:01.000Z",
      "distro": "noble",
      "commit": "92ebfba9feb85aa015a025fbdc2bb7b92f074f67",
      "fileid": "df9525e8dd72c763ebd7f6745c4424c4166620803619cf1c04300bc61b303e0c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/idsia/actions/runs/26558036597"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-28T06:18:52.000Z",
      "distro": "noble",
      "commit": "92ebfba9feb85aa015a025fbdc2bb7b92f074f67",
      "fileid": "2a0f5da7928f403e13fd911dc73b0a36b12a7ac050ace4ec7d6d6c6026f2a505",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/idsia/actions/runs/26558036597"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-28T06:20:59.000Z",
      "commit": "92ebfba9feb85aa015a025fbdc2bb7b92f074f67",
      "fileid": "f1501f854ab3a1843fa9690b8092c8b96ab36a7901b663aa87a72bd493f909a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/idsia/actions/runs/26558036597"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-28T06:20:25.000Z",
      "commit": "92ebfba9feb85aa015a025fbdc2bb7b92f074f67",
      "fileid": "8cb70f5b6fe0b7bd81e3a8a969eb52bccf0f4921d83c5796e83a1cf3e80229c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/idsia/actions/runs/26558036597"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-05-28T06:18:49.000Z",
      "commit": "92ebfba9feb85aa015a025fbdc2bb7b92f074f67",
      "fileid": "c765f4b590e6b21f8b300c1c0ec6a3be69d2754b4b1cd4551457c161c11c3550",
      "status": "success",
      "buildurl": "https://github.com/r-universe/idsia/actions/runs/26558036597"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-28T06:18:01.000Z",
      "commit": "92ebfba9feb85aa015a025fbdc2bb7b92f074f67",
      "fileid": "41aa8785f3596bcbb96f87362c1773580af5947ef6ce1b3757a8fb9c91fcd53d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/idsia/actions/runs/26558036597"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-28T06:18:03.000Z",
      "commit": "92ebfba9feb85aa015a025fbdc2bb7b92f074f67",
      "fileid": "c4db502a737ba911daf4cb9013b0c3286b7f5959603370f7ad7719705a974582",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/idsia/actions/runs/26558036597"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-28T06:18:00.000Z",
      "commit": "92ebfba9feb85aa015a025fbdc2bb7b92f074f67",
      "fileid": "e82c5749b3e6bfe9862da2ee92968541a982e666074e488020fbb9a12a445ab8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/idsia/actions/runs/26558036597"
    }
  ]
}