{
  "_id": "6a2d05553efcd9bda42ec337",
  "Package": "badp",
  "Title": "Bayesian Averaging for Dynamic Panels",
  "Version": "0.5.0",
  "Authors@R": "c(person(given = \"Krzysztof\",\nfamily = \"Beck\",\nrole = \"aut\",\nemail = \"beckkrzysztof@gmail.com\"),\nperson(given = \"Piotr\",\nfamily = \"Cukier\",\nrole = \"aut\"\n),\nperson(given = \"Marcin\",\nfamily = \"Dubel\",\nrole = c(\"aut\", \"cre\"),\nemail = \"marcindubel@gmail.com\"\n),\nperson(given = \"Mariusz\",\nfamily = \"Szczepanczyk\",\nrole = \"aut\"\n),\nperson(given = \"Mateusz\",\nfamily = \"Wyszynski\",\nrole = \"aut\",\nemail = \"mat.wyszynski@gmail.com\"\n))",
  "Description": "Implements Bayesian model averaging for dynamic panels\nwith weakly exogenous regressors as described in the paper by\nMoral-Benito (2013, <doi:10.1080/07350015.2013.818003>). The\npackage provides functions to estimate dynamic panel data\nmodels and analyze the results of the estimation.",
  "License": "MIT + file LICENSE",
  "URL": "https://badp-project.github.io/badp/,\nhttps://github.com/badp-project/badp",
  "BugReports": "https://github.com/badp-project/badp/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "8.0.0",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Language": "en-US",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-13 07:19:07 UTC",
    "User": "root"
  },
  "Author": "Krzysztof Beck [aut], Piotr Cukier [aut], Marcin Dubel [aut,\ncre], Mariusz Szczepanczyk [aut], Mateusz Wyszynski [aut]",
  "Maintainer": "Marcin Dubel <marcindubel@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-05-14 15:38:05 UTC",
  "RemoteUrl": "https://github.com/cran/badp",
  "RemoteRef": "HEAD",
  "RemoteSha": "e6b4c10b7b7368930243fce0a6173cb8a941f279",
  "MD5sum": "cfeb3364f847da342eb9795d5a3bef62",
  "_user": "cran",
  "_type": "src",
  "_file": "badp_0.5.0.tar.gz",
  "_fileid": "e349c286812ddd6b220d39fc4ccff015b0347b941da0cb78c3ac848d16688ee5",
  "_filesize": 2789999,
  "_sha256": "e349c286812ddd6b220d39fc4ccff015b0347b941da0cb78c3ac848d16688ee5",
  "_created": "2026-06-13T07:19:07.000Z",
  "_published": "2026-06-13T07:23:01.007Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81172307660,
      "time": 166,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7608572358"
    },
    {
      "job": 81172307651,
      "time": 174,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7608573518"
    },
    {
      "job": 81172307647,
      "time": 177,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7608573924"
    },
    {
      "job": 81172307665,
      "time": 165,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7608572278"
    },
    {
      "job": 81172006185,
      "time": 291,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7608549225"
    },
    {
      "job": 81172307631,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7608566575"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27460060862",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/badp",
  "_commit": {
    "id": "e6b4c10b7b7368930243fce0a6173cb8a941f279",
    "author": "Marcin Dubel <marcindubel@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.5.0\n",
    "time": 1778773085
  },
  "_maintainer": {
    "name": "Marcin Dubel",
    "email": "marcindubel@gmail.com",
    "login": "mdubel",
    "description": "",
    "uuid": 19154385
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "optimbase",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "pbapply",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "RcppArmadillo",
      "role": "Imports"
    },
    {
      "package": "rje",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "rootSolve",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-11",
      "n": 2
    },
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.4.0",
      "date": "2026-03-11"
    },
    {
      "name": "0.4.0.1",
      "date": "2026-03-14"
    },
    {
      "name": "0.5.0",
      "date": "2026-05-14"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "mdubel",
      "count": 3,
      "uuid": 19154385
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 644,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/badp"
  },
  "_devurl": "https://github.com/badp-project/badp",
  "_searchresults": 4,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/badp.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",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/badp-project/badp",
  "_realowner": "badp-project",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.4.0",
      "date": "2026-03-11"
    },
    {
      "version": "0.4.0.1",
      "date": "2026-03-14"
    },
    {
      "version": "0.5.0",
      "date": "2026-05-14"
    }
  ],
  "_exports": [
    "best_models",
    "bma",
    "coef_hist",
    "compute_model_space_stats",
    "exogenous_matrix",
    "extract_names",
    "feature_standardization",
    "hessian",
    "init_model_space_params",
    "join_lagged_col",
    "jointness",
    "matrices_from_df",
    "model_pmp",
    "model_sizes",
    "nested_optimization_wrapper",
    "nested_std_dev_from_params",
    "non_nested_optimization_wrapper",
    "non_nested_std_dev_from_params",
    "optim_model_space",
    "optim_model_space_params",
    "posterior_dens",
    "regressor_names_from_params_vector",
    "residual_maker_matrix",
    "sem_B_matrix",
    "sem_C_matrix",
    "sem_dep_var_matrix",
    "sem_likelihood",
    "sem_psi_matrix",
    "sem_regressors_matrix",
    "sem_sigma_matrix"
  ],
  "_datasets": [
    {
      "name": "economic_growth",
      "title": "Economic Growth Data",
      "object": "economic_growth",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "year",
        "country",
        "gdp",
        "ish",
        "sed",
        "pgrw",
        "pop",
        "ipr",
        "opem",
        "gsh",
        "lnlex",
        "polity"
      ],
      "rows": 365,
      "table": true,
      "tojson": true
    },
    {
      "name": "full_bma_results",
      "title": "Example output of the bma function",
      "object": "full_bma_results",
      "class": [
        "badp_bma"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "full_model_space",
      "title": "Example output of 'optim_model_space'",
      "object": "full_model_space",
      "class": [
        "badp_model_space"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "migration_data",
      "title": "Migration data in the original format",
      "object": "migration_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Time",
        "Pair",
        "Mig",
        "Mig_lag",
        "Earn",
        "Unemp",
        "Social",
        "Tax"
      ],
      "rows": 1012,
      "table": true,
      "tojson": true
    },
    {
      "name": "migration_model_space",
      "title": "Example output of 'optim_model_space' in the case of migration data",
      "object": "migration_model_space",
      "class": [
        "badp_model_space"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "migration_model_space_nonnested",
      "title": "Example output of 'optim_model_space' in the case of migration data obtained with nonnested approach.",
      "object": "migration_model_space_nonnested",
      "class": [
        "badp_model_space"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "model_space_nonnested",
      "title": "Example output of 'optim_model_space' for non-nested models",
      "object": "model_space_nonnested",
      "class": [
        "badp_model_space"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "original_economic_growth",
      "title": "Economic Growth Data in the original format",
      "object": "original_economic_growth",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "country",
        "year",
        "gdp",
        "lag_gdp",
        "ish",
        "sed",
        "pgrw",
        "pop",
        "ipr",
        "opem",
        "gsh",
        "lnlex",
        "polity"
      ],
      "rows": 292,
      "table": true,
      "tojson": true
    },
    {
      "name": "small_model_space",
      "title": "Example output of 'optim_model_space' (small version)",
      "object": "small_model_space",
      "class": [
        "badp_model_space"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "best_models",
      "title": "Table with the best models according to one of the posterior criteria",
      "topics": [
        "best_models"
      ]
    },
    {
      "page": "bma",
      "title": "Calculation of the bma object",
      "topics": [
        "bma"
      ]
    },
    {
      "page": "coef_hist",
      "title": "Graphs of the distribution of the coefficients over the model space",
      "topics": [
        "coef_hist"
      ]
    },
    {
      "page": "coef.badp_bma",
      "title": "Extract posterior statistics from Bayesian Model Averaging Results",
      "topics": [
        "coef.badp_bma"
      ]
    },
    {
      "page": "compute_model_space_stats",
      "title": "Approximate standard deviations for the models",
      "topics": [
        "compute_model_space_stats"
      ]
    },
    {
      "page": "economic_growth",
      "title": "Economic Growth Data",
      "topics": [
        "economic_growth"
      ]
    },
    {
      "page": "feature_standardization",
      "title": "Perform feature standardization",
      "topics": [
        "feature_standardization"
      ]
    },
    {
      "page": "full_bma_results",
      "title": "Example output of the bma function",
      "topics": [
        "full_bma_results"
      ]
    },
    {
      "page": "full_model_space",
      "title": "Example output of 'optim_model_space'",
      "topics": [
        "full_model_space"
      ]
    },
    {
      "page": "jointness",
      "title": "Calculation of the jointness measures",
      "topics": [
        "jointness"
      ]
    },
    {
      "page": "migration_data",
      "title": "Migration data in the original format",
      "topics": [
        "migration_data"
      ]
    },
    {
      "page": "migration_model_space",
      "title": "Example output of 'optim_model_space' in the case of migration data",
      "topics": [
        "migration_model_space"
      ]
    },
    {
      "page": "migration_model_space_nonnested",
      "title": "Example output of 'optim_model_space' in the case of migration data obtained with nonnested approach.",
      "topics": [
        "migration_model_space_nonnested"
      ]
    },
    {
      "page": "model_pmp",
      "title": "Graphs of the prior and posterior model probabilities for the best individual models",
      "topics": [
        "model_pmp"
      ]
    },
    {
      "page": "model_sizes",
      "title": "Graphs of the prior and posterior model probabilities of the model sizes",
      "topics": [
        "model_sizes"
      ]
    },
    {
      "page": "model_space_nonnested",
      "title": "Example output of 'optim_model_space' for non-nested models",
      "topics": [
        "model_space_nonnested"
      ]
    },
    {
      "page": "optim_model_space",
      "title": "Calculation of the model_space object",
      "topics": [
        "optim_model_space"
      ]
    },
    {
      "page": "optim_model_space_params",
      "title": "Finds MLE parameters for each model in the given model space",
      "topics": [
        "optim_model_space_params"
      ]
    },
    {
      "page": "original_economic_growth",
      "title": "Economic Growth Data in the original format",
      "topics": [
        "original_economic_growth"
      ]
    },
    {
      "page": "plot.badp_bma",
      "title": "Plot Bayesian Model Averaging Results",
      "topics": [
        "plot.badp_bma"
      ]
    },
    {
      "page": "posterior_dens",
      "title": "Graphs of the posterior densities of the coefficients",
      "topics": [
        "posterior_dens"
      ]
    },
    {
      "page": "print.badp_best_models",
      "title": "Print Best Models Tables",
      "topics": [
        "print.badp_best_models"
      ]
    },
    {
      "page": "print.badp_bma",
      "title": "Print Bayesian Model Averaging Results",
      "topics": [
        "print.badp_bma"
      ]
    },
    {
      "page": "print.badp_bma_coef",
      "title": "Print Coefficient Tables from Bayesian Model Averaging",
      "topics": [
        "print.badp_bma_coef"
      ]
    },
    {
      "page": "print.badp_drawable_grob",
      "title": "Print a Drawable Best-Models Grob",
      "topics": [
        "print.badp_drawable_grob"
      ]
    },
    {
      "page": "print.badp_model_space",
      "title": "Print Model Space Object",
      "topics": [
        "print.badp_model_space"
      ]
    },
    {
      "page": "print.summary.badp_bma",
      "title": "Print Summary of Bayesian Model Averaging Results",
      "topics": [
        "print.summary.badp_bma"
      ]
    },
    {
      "page": "print.summary.badp_model_space",
      "title": "Print Summary of a Model Space Object",
      "topics": [
        "print.summary.badp_model_space"
      ]
    },
    {
      "page": "sem_likelihood",
      "title": "Likelihood for the SEM model",
      "topics": [
        "sem_likelihood"
      ]
    },
    {
      "page": "small_model_space",
      "title": "Example output of 'optim_model_space' (small version)",
      "topics": [
        "small_model_space"
      ]
    },
    {
      "page": "summary.badp_bma",
      "title": "Summarize Bayesian Model Averaging Results",
      "topics": [
        "summary.badp_bma"
      ]
    },
    {
      "page": "summary.badp_model_space",
      "title": "Summarize a Model Space Object",
      "topics": [
        "summary.badp_model_space"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/badp/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/cran/badp/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "evaluate",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "isoband",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "optimbase",
    "patchwork",
    "pbapply",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rje",
    "rlang",
    "rootSolve",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "badp_vignette.Rmd",
      "filename": "badp_vignette.html",
      "title": "badp: Bayesian model averaging for dynamic panels with weakly exogenous regressors",
      "author": "Krzysztof Beck^1,2^, Piotr Cukier^2^, Marcin Dubel^2^, Mariusz Szczepańczyk^2^, Mateusz Wyszyński^3^",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Model setup and Bayesian model averaging",
        "Model setup",
        "Bayesian model averaging",
        "BMA statistics",
        "Model priors and jointness",
        "Data preparation",
        "Estimation of the model space",
        "Model space parameters",
        "Model space statistics",
        "Parallelization",
        "Precomputed model spaces",
        "Performing Bayesian model averaging",
        "Bayesian model averaging: The bma function",
        "Prior and posterior model probabilities",
        "Selecting the best models",
        "Calculating jointness measures",
        "Visualizing model coefficients and posterior distributions",
        "Changes in model priors",
        "Changing expected model size",
        "Dilution prior",
        "Concluding remarks",
        "References"
      ],
      "created": "2026-03-11 19:30:09",
      "modified": "2026-05-14 15:38:05",
      "commits": 2
    }
  ],
  "_score": 3,
  "_indexed": false,
  "_nocasepkg": "badp",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://badp-project.r-universe.dev/badp",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-06-13T07:21:35.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "e6b4c10b7b7368930243fce0a6173cb8a941f279",
      "fileid": "f834671b6d6bb58835f1218e4de18730e89823a1d26b0ba8e2c278c1f7642f29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27460060862"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-06-13T07:21:40.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "e6b4c10b7b7368930243fce0a6173cb8a941f279",
      "fileid": "6abb0111e0510ade426b202912510cf63fcf8e106207102e89adcb0cd410236b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27460060862"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-06-13T07:21:43.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "e6b4c10b7b7368930243fce0a6173cb8a941f279",
      "fileid": "fa010d7736c3f4c358e8e191ddd7729fb58333bf6191544379c57d19223b3123",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27460060862"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-06-13T07:21:31.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "e6b4c10b7b7368930243fce0a6173cb8a941f279",
      "fileid": "38c0a92bb4934df1153c359718d2266d4e403db41041ee9b4c2e1cfbac7e0cef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27460060862"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.0",
      "date": "2026-06-13T07:21:37.000Z",
      "arch": "emscripten",
      "commit": "e6b4c10b7b7368930243fce0a6173cb8a941f279",
      "fileid": "f5d0da939817c9bbb29b6b2f74478a754d9d778d810a6e26974ea3cd2edf9e61",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27460060862"
    }
  ]
}