{
  "_id": "6ac7805fde46216d5edd1067",
  "Package": "rmsBMA",
  "Title": "Reduced Model Space Bayesian Model Averaging",
  "Version": "0.2.0",
  "Authors@R": "person(\"Krzysztof\", \"Beck\", , \"beckkrzysztof@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-3679-2962\"))",
  "Description": "Implements Bayesian model averaging for settings with many\ncandidate regressors relative to the available sample size,\nincluding cases where the number of regressors exceeds the\nnumber of observations. By restricting attention to models with\nat most M regressors, the package supports reduced model space\ninference, thereby preserving degrees of freedom for\nestimation. It provides posterior summaries, Extreme Bounds\nAnalysis, model selection procedures, joint inclusion measures,\nand graphical tools for exploring model probabilities, model\nsize distributions, and coefficient distributions. When the\nmodel space is too large to enumerate, it can be explored by\nMarkov chain Monte Carlo model composition instead. The\nmethodological approach follows Doppelhofer and Weeks (2009)\n<doi:10.1002/jae.1046> and Madigan and York (1995)\n<doi:10.2307/1403615>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/becku182/rmsBMA",
  "BugReports": "https://github.com/becku182/rmsBMA/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "Language": "en-US",
  "Config/roxygen2/version": "8.1.0",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://becku182.r-universe.dev",
  "Date/Publication": "2026-09-08 08:49:41 UTC",
  "RemoteUrl": "https://github.com/becku182/rmsbma",
  "RemoteRef": "HEAD",
  "RemoteSha": "e2f75a36ccd5cc6ddbad615792fa1001ca818294",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-08 10:49:39 UTC",
    "User": "root"
  },
  "Author": "Krzysztof Beck [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3679-2962>)",
  "Maintainer": "Krzysztof Beck <beckkrzysztof@gmail.com>",
  "_user": "becku182",
  "_type": "src",
  "_file": "rmsBMA_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/754d8e501e4fc3f7e431d0ccc22f7fe37812de7b4adb16b1fc8c55cb8bd42969",
  "_filesize": 2240912,
  "_sha256": "754d8e501e4fc3f7e431d0ccc22f7fe37812de7b4adb16b1fc8c55cb8bd42969",
  "_expires": "2027-01-16T11:37:02.000Z",
  "_created": "2026-10-08T10:49:39.000Z",
  "_published": "2026-10-08T11:37:03.771Z",
  "_buildurl": "https://github.com/r-universe/becku182/actions/runs/37765578674",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113273948280,
      "time": 198,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11544253151"
    },
    {
      "job": 113273948413,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11544498281"
    },
    {
      "job": 113273948186,
      "time": 236,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11547360936"
    },
    {
      "job": 113273948282,
      "time": 216,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11547481541"
    },
    {
      "job": 113272422733,
      "time": 249,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11544078578"
    },
    {
      "job": 113273948400,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11544815383"
    },
    {
      "job": 113273948288,
      "time": 95,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11544453133"
    },
    {
      "job": 113273948303,
      "time": 130,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11544726959"
    },
    {
      "job": 113273948374,
      "time": 125,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11544597547"
    }
  ],
  "_upstream": "https://github.com/becku182/rmsbma",
  "_commit": {
    "id": "e2f75a36ccd5cc6ddbad615792fa1001ca818294",
    "author": "Krzysztof Beck <beckkrzysztof@gmail.com>",
    "committer": "Krzysztof Beck <beckkrzysztof@gmail.com>",
    "message": "Name the second bma() element for the prior it actually uses\n\nThe returned list gave elements 1 and 2 the same name, 'Table with the\nbinomial model prior results'.  Element 2 holds the binomial-beta results.\nOnly the name changes; the contents were always correct, and nothing in\nthe package, tests or vignette referenced the name.\n\nVerified with a full R CMD check --as-cran: tests, examples and vignette\nall pass, and names(bma(...)) now has no duplicates.\n\nCo-Authored-By: Claude Opus 5 <noreply@anthropic.com>\nClaude-Session: https://claude.ai/code/session_01BJiP7z5ujjpsK1zxjVcxeS\n",
    "time": 1788857381
  },
  "_maintainer": {
    "name": "Krzysztof Beck",
    "email": "beckkrzysztof@gmail.com",
    "login": "becku182",
    "description": "",
    "uuid": 83015994,
    "orcid": "0000-0003-3679-2962"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggpubr",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "becku182",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-08",
      "n": 2
    },
    {
      "week": "2026-09",
      "n": 6
    },
    {
      "week": "2026-36",
      "n": 11
    },
    {
      "week": "2026-37",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.2.0",
      "date": "2026-09-06"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "becku182",
      "count": 35,
      "uuid": 83015994
    }
  ],
  "_userbio": {
    "uuid": 83015994,
    "type": "user",
    "name": "becku182",
    "followers": 0
  },
  "_downloads": {
    "count": 401,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rmsBMA"
  },
  "_devurl": "https://github.com/becku182/rmsbma",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "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",
    "extra/rmsBMA.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/becku182/rmsbma",
  "_realowner": "becku182",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2026-03-11"
    },
    {
      "version": "0.1.2",
      "date": "2026-03-14"
    },
    {
      "version": "0.2.0",
      "date": "2026-09-08"
    }
  ],
  "_exports": [
    "best_models",
    "bma",
    "coef_hist",
    "data_prep",
    "data_preparation",
    "eba",
    "fast_ols",
    "fast_ols_const",
    "fast_ols_HC",
    "g_regression",
    "g_regression_fast",
    "g_regression_fast_const",
    "g_regression_fast_HC",
    "group_dilution",
    "jointness",
    "model_pmp",
    "model_sizes",
    "model_space",
    "ols",
    "plus_pmp_from_pmp",
    "posterior_dens",
    "posterior_sign_certainty"
  ],
  "_datasets": [
    {
      "name": "migration_panel",
      "title": "Determinants of International Migration in the European Union",
      "object": "migration_panel",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Year_0",
        "Pair_ID",
        "Migration",
        "MigrationLAG",
        "Unempl",
        "Earn",
        "Tax",
        "Social",
        "LNDGEO",
        "Temp",
        "HC",
        "GOV",
        "Gini",
        "FER",
        "Corruption",
        "Crime"
      ],
      "rows": 1012,
      "table": true,
      "tojson": true
    },
    {
      "name": "modelSpace",
      "title": "Model space for the Trade_data_small dataset",
      "object": "modelSpace",
      "class": [
        "model_space"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "Trade_data",
      "title": "Determinants of International Trade in the European Union",
      "object": "Trade_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "LNTRADE",
        "B",
        "LNDGEO",
        "L",
        "LNRGDPPROD",
        "RGDPpcDIFF",
        "GOV",
        "HUMAN",
        "CPW",
        "INFVAR",
        "ARABLE",
        "ARABLEpw",
        "LAND",
        "LANDpc",
        "EPCpc",
        "FDI",
        "KSI",
        "BCIDIFF"
      ],
      "rows": 325,
      "table": true,
      "tojson": true
    },
    {
      "name": "Trade_data_small",
      "title": "Determinants of International Trade in the European Union",
      "object": "Trade_data_small",
      "class": [
        "data.frame"
      ],
      "fields": [
        "LNTRADE",
        "B",
        "LNDGEO",
        "L",
        "LNRGDPPROD",
        "HUMAN",
        "INFVAR",
        "ARABLE",
        "ARABLEpw",
        "LAND",
        "LANDpc"
      ],
      "rows": 325,
      "table": true,
      "tojson": true
    }
  ],
  "_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 objects",
      "topics": [
        "bma"
      ]
    },
    {
      "page": "coef_hist",
      "title": "Graphs of the distribution of the coefficients over the model space",
      "topics": [
        "coef_hist"
      ]
    },
    {
      "page": "coef.bma",
      "title": "Posterior means from a BMA object",
      "topics": [
        "coef.bma"
      ]
    },
    {
      "page": "data_prep",
      "title": "Introduction of time and section fixed effects and data standardization.",
      "topics": [
        "data_prep"
      ]
    },
    {
      "page": "data_preparation",
      "title": "Fixed-effects demeaning and data standardization",
      "topics": [
        "data_preparation"
      ]
    },
    {
      "page": "eba",
      "title": "Extreme bounds analysis summaries from a Bayesian model space",
      "topics": [
        "eba"
      ]
    },
    {
      "page": "fast_ols",
      "title": "OLS calculation with additional objects",
      "topics": [
        "fast_ols"
      ]
    },
    {
      "page": "fast_ols_const",
      "title": "OLS calculation with additional objects for model with just a constant.",
      "topics": [
        "fast_ols_const"
      ]
    },
    {
      "page": "fast_ols_HC",
      "title": "OLS calculation with heteroscedasticity consistent covariance matrix (MacKinnon & White 1985).",
      "topics": [
        "fast_ols_HC"
      ]
    },
    {
      "page": "g_regression",
      "title": "Regression with g prior",
      "topics": [
        "g_regression"
      ]
    },
    {
      "page": "g_regression_fast",
      "title": "Fast regression with g prior",
      "topics": [
        "g_regression_fast"
      ]
    },
    {
      "page": "g_regression_fast_const",
      "title": "Fast regression with g prior for a model with just a constant",
      "topics": [
        "g_regression_fast_const"
      ]
    },
    {
      "page": "g_regression_fast_HC",
      "title": "Fast regression with g prior and with heteroscedasticity consistent covariance matrix (MacKinnon & White 1985).",
      "topics": [
        "g_regression_fast_HC"
      ]
    },
    {
      "page": "group_dilution",
      "title": "Compute group-based dilution factors for a model space",
      "topics": [
        "group_dilution"
      ]
    },
    {
      "page": "Jointness",
      "title": "Calculation of of the jointness measures",
      "topics": [
        "jointness"
      ]
    },
    {
      "page": "migration_panel",
      "title": "Determinants of International Migration in the European Union",
      "topics": [
        "migration_panel"
      ]
    },
    {
      "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",
      "title": "Calculation of the model space",
      "topics": [
        "model_space"
      ]
    },
    {
      "page": "modelSpace",
      "title": "Model space for the Trade_data_small dataset",
      "topics": [
        "modelSpace"
      ]
    },
    {
      "page": "ols",
      "title": "OLS calculation with additional objects",
      "topics": [
        "ols"
      ]
    },
    {
      "page": "plus_pmp_from_pmp",
      "title": "Posterior probability of a positive coefficient sign (P(+))",
      "topics": [
        "plus_pmp_from_pmp"
      ]
    },
    {
      "page": "posterior_dens",
      "title": "Graphs of the posterior densities of the coefficients",
      "topics": [
        "posterior_dens"
      ]
    },
    {
      "page": "posterior_sign_certainty",
      "title": "Posterior sign certainty probability",
      "topics": [
        "posterior_sign_certainty"
      ]
    },
    {
      "page": "print.bma",
      "title": "Compactly describe a BMA object",
      "topics": [
        "print.bma"
      ]
    },
    {
      "page": "print.model_space",
      "title": "Compactly describe a model space",
      "topics": [
        "print.model_space"
      ]
    },
    {
      "page": "summary.bma",
      "title": "Summarize a BMA object",
      "topics": [
        "print.summary.bma",
        "summary.bma"
      ]
    },
    {
      "page": "summary.model_space",
      "title": "Summarize a model space",
      "topics": [
        "print.summary.model_space",
        "summary.model_space"
      ]
    },
    {
      "page": "Trade_data",
      "title": "Determinants of International Trade in the European Union",
      "topics": [
        "Trade_data"
      ]
    },
    {
      "page": "Trade_data_small",
      "title": "Determinants of International Trade in the European Union",
      "topics": [
        "Trade_data_small"
      ]
    }
  ],
  "_readme": "https://github.com/becku182/rmsbma/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "colorspace",
    "corrplot",
    "cowplot",
    "cpp11",
    "Deriv",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "ggpubr",
    "ggrepel",
    "ggsci",
    "ggsignif",
    "glue",
    "gridExtra",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "minqa",
    "modelr",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "polynom",
    "purrr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "rstatix",
    "S7",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "rmsBMA.Rmd",
      "filename": "rmsBMA.html",
      "title": "rmsBMA: Reduced Model Space Bayesian Model Averaging",
      "author": "Krzysztof Beck (Lazarski University)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Bayesian model averaging: A theoretical overview",
        "Model setup and Bayesian estimation",
        "Bayesian model averaging",
        "$$P(\\beta_k > 0 \\mid y)",
        "$g$-priors",
        "Model priors",
        "Dilution priors",
        "$$\\phi_j",
        "\\prod_",
        "Jointness measures",
        "Extreme Bounds Analysis",
        "Data preparation",
        "Estimation of the model space",
        "Sampling the model space: MC$^3$",
        "Chain diagnostics",
        "Reduced model spaces",
        "Checking the sampler against enumeration",
        "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-09-03 21:21:50",
      "modified": "2026-09-06 21:35:30",
      "commits": 3
    }
  ],
  "_score": 4.301029995663981,
  "_indexed": true,
  "_nocasepkg": "rmsbma",
  "_universes": [
    "becku182"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-08T10:52:46.000Z",
      "distro": "resolute",
      "commit": "e2f75a36ccd5cc6ddbad615792fa1001ca818294",
      "fileid": "https://r2.ropensci.org/74d2b2b4b50fc93eb7ce63e922ffb400456b45a0ae6d67c91580c132a6b59897",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/becku182/actions/runs/37765578674"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-08T10:52:06.000Z",
      "distro": "resolute",
      "commit": "e2f75a36ccd5cc6ddbad615792fa1001ca818294",
      "fileid": "https://r2.ropensci.org/ae25697dec0b7baceb0b3cbe57ac665885e1b886c7ff87770275c0c0f6b8af7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/becku182/actions/runs/37765578674"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-08T11:30:53.000Z",
      "commit": "e2f75a36ccd5cc6ddbad615792fa1001ca818294",
      "fileid": "https://r2.ropensci.org/f6b3754f30baa3426e39a73050cb11d59784baa06ee957503a7b0b43db7b9b07",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/becku182/actions/runs/37765578674"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-08T11:35:15.000Z",
      "commit": "e2f75a36ccd5cc6ddbad615792fa1001ca818294",
      "fileid": "https://r2.ropensci.org/f93996a407855c97e4237e38517f662f6ef4039a988e69d80fbf91d3735345d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/becku182/actions/runs/37765578674"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-08T10:52:07.000Z",
      "commit": "e2f75a36ccd5cc6ddbad615792fa1001ca818294",
      "fileid": "https://r2.ropensci.org/d3383fb0836287f8bf770177e0848596a71fa7fe16b1e1251f3cee5a36e20445",
      "status": "success",
      "buildurl": "https://github.com/r-universe/becku182/actions/runs/37765578674"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-08T10:50:51.000Z",
      "commit": "e2f75a36ccd5cc6ddbad615792fa1001ca818294",
      "fileid": "https://r2.ropensci.org/eb85cae754bf23b0ac0a3be09b48447ba627090e66b918561bc363cdc67602ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/becku182/actions/runs/37765578674"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-08T10:51:45.000Z",
      "commit": "e2f75a36ccd5cc6ddbad615792fa1001ca818294",
      "fileid": "https://r2.ropensci.org/ce58bef50ba9d94534949b807a8e80356d7e0ef1fa18761a55e93ab513aeb3b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/becku182/actions/runs/37765578674"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-08T10:51:37.000Z",
      "commit": "e2f75a36ccd5cc6ddbad615792fa1001ca818294",
      "fileid": "https://r2.ropensci.org/bc481ba7c2dbdcdddd7d21b72438d3b146236bd41d3667c2909a36714dc51cb5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/becku182/actions/runs/37765578674"
    }
  ]
}