{
  "_id": "6a516b859b92047c28d50883",
  "Package": "bqmm",
  "Title": "Bayesian Multilevel Quantile Regression",
  "Version": "0.1.0",
  "Authors@R": "person(\"Kailas\", \"Venkitasubramanian\", email = \"kailasv@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "Fits Bayesian mixed-effects (multilevel) quantile\nregression models using the asymmetric Laplace working\nlikelihood and Stan. Supports an 'lme4'-style formula interface\nwith nested and crossed random effects, fitting one or several\nquantiles, post-hoc non-crossing rearrangement of fitted\nquantiles, and the Yang, Wang and He (2016) posterior-variance\ncorrection for valid frequentist inference from the\n(misspecified) asymmetric Laplace posterior.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Biarch": "true",
  "SystemRequirements": "GNU make",
  "Config/testthat/edition": "3",
  "Config/Needs/website": "pkgdown",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/kvenkita/bqmm, https://kvenkita.github.io/bqmm/",
  "BugReports": "https://github.com/kvenkita/bqmm/issues",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-10 21:51:56 UTC",
    "User": "root"
  },
  "Author": "Kailas Venkitasubramanian [aut, cre, cph]",
  "Maintainer": "Kailas Venkitasubramanian <kailasv@gmail.com>",
  "Config/pak/sysreqs": "make",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-10 20:00:02 UTC",
  "RemoteUrl": "https://github.com/cran/bqmm",
  "RemoteRef": "HEAD",
  "RemoteSha": "e026a6c013c1fa4f7e567712e46d35e522f37ccc",
  "_user": "cran",
  "_type": "src",
  "_file": "bqmm_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/23aed069ff22e6c782425a524467671728dd6eba719ae10f948775ccc807636d",
  "_filesize": 607185,
  "_sha256": "23aed069ff22e6c782425a524467671728dd6eba719ae10f948775ccc807636d",
  "_expires": "2026-10-18T22:00:35.000Z",
  "_created": "2026-07-10T21:51:56.000Z",
  "_published": "2026-07-10T22:00:37.507Z",
  "_jobs": [
    {
      "job": 86472003801,
      "time": 331,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8240433948"
    },
    {
      "job": 86472003780,
      "time": 363,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8240442193"
    },
    {
      "job": 86472003813,
      "time": 328,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8240433418"
    },
    {
      "job": 86472003818,
      "time": 351,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8240438729"
    },
    {
      "job": 86470620259,
      "time": 533,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8240338809"
    },
    {
      "job": 86472003759,
      "time": 180,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/29125659678",
  "_status": "success",
  "_upstream": "https://github.com/cran/bqmm",
  "_commit": {
    "id": "e026a6c013c1fa4f7e567712e46d35e522f37ccc",
    "author": "Kailas Venkitasubramanian <kailasv@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1783713602
  },
  "_maintainer": {
    "name": "Kailas Venkitasubramanian",
    "email": "kailasv@gmail.com",
    "login": "kvenkita",
    "description": "",
    "uuid": 26449590
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "BH",
      "version": ">= 1.66.0",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "version": ">= 0.3.3.3.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "version": ">= 2.26.0",
      "role": "LinkingTo"
    },
    {
      "package": "StanHeaders",
      "version": ">= 2.26.0",
      "role": "LinkingTo"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "lme4",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "version": ">= 2.26.0",
      "role": "Imports"
    },
    {
      "package": "rstantools",
      "version": ">= 2.4.0",
      "role": "Imports"
    },
    {
      "package": "posterior",
      "role": "Imports"
    },
    {
      "package": "bayesplot",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "lqmm",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "nlme",
      "role": "Suggests"
    },
    {
      "package": "quantreg",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-28",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-07-10"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "kvenkita",
      "count": 1,
      "uuid": 26449590
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 617,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bqmm"
  },
  "_devurl": "https://github.com/kvenkita/bqmm",
  "_pkgdown": "https://kvenkita.github.io/bqmm/",
  "_searchresults": 0,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/bqmm.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"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-07-10"
    }
  ],
  "_exports": [
    "ald",
    "as_draws",
    "bqmm",
    "bqmm_prior",
    "fixef",
    "log_lik",
    "posterior_epred",
    "posterior_predict",
    "ranef",
    "rearrange_quantiles",
    "VarCorr"
  ],
  "_help": [
    {
      "page": "ald",
      "title": "The asymmetric Laplace family for quantile regression",
      "topics": [
        "ald"
      ]
    },
    {
      "page": "as_draws.bqmm",
      "title": "Convert a bqmm fit to a posterior draws object",
      "topics": [
        "as_draws.bqmm"
      ]
    },
    {
      "page": "as.matrix.bqmm",
      "title": "Coerce a bqmm fit to a matrix of posterior draws",
      "topics": [
        "as.matrix.bqmm"
      ]
    },
    {
      "page": "bqmm",
      "title": "Bayesian multilevel quantile regression",
      "topics": [
        "bqmm"
      ]
    },
    {
      "page": "bqmm_prior",
      "title": "Priors for a Bayesian quantile mixed model",
      "topics": [
        "bqmm_prior"
      ]
    },
    {
      "page": "coef.bqmm",
      "title": "Extract model coefficients",
      "topics": [
        "coef.bqmm"
      ]
    },
    {
      "page": "coef.bqmm_multi",
      "title": "Coefficient-versus-tau matrix for a bqmm_multi fit",
      "topics": [
        "coef.bqmm_multi"
      ]
    },
    {
      "page": "confint.bqmm",
      "title": "Confidence (credible) intervals for the fixed effects",
      "topics": [
        "confint.bqmm"
      ]
    },
    {
      "page": "fitted.bqmm",
      "title": "Linear predictor (conditional tau-quantile) at the posterior median",
      "topics": [
        "fitted.bqmm"
      ]
    },
    {
      "page": "fixef.bqmm",
      "title": "Posterior-median fixed effects",
      "topics": [
        "fixef.bqmm"
      ]
    },
    {
      "page": "log_lik.bqmm",
      "title": "Pointwise log-likelihood draws",
      "topics": [
        "log_lik.bqmm"
      ]
    },
    {
      "page": "nobs.bqmm",
      "title": "Number of observations used in the fit",
      "topics": [
        "nobs.bqmm"
      ]
    },
    {
      "page": "plot.bqmm",
      "title": "Plot a bqmm fit",
      "topics": [
        "plot.bqmm"
      ]
    },
    {
      "page": "plot.bqmm_multi",
      "title": "Plot coefficient-versus-tau paths for a bqmm_multi fit",
      "topics": [
        "plot.bqmm_multi"
      ]
    },
    {
      "page": "posterior_epred.bqmm",
      "title": "Draws of the expected response (conditional tau-quantile)",
      "topics": [
        "posterior_epred.bqmm"
      ]
    },
    {
      "page": "posterior_predict.bqmm",
      "title": "Draws from the posterior predictive distribution",
      "topics": [
        "posterior_predict.bqmm"
      ]
    },
    {
      "page": "predict.bqmm",
      "title": "Predictions from a bqmm fit",
      "topics": [
        "predict.bqmm"
      ]
    },
    {
      "page": "ranef.bqmm",
      "title": "Posterior-median random effects",
      "topics": [
        "ranef.bqmm"
      ]
    },
    {
      "page": "rearrange_quantiles",
      "title": "Rearrange fitted quantiles to remove crossing",
      "topics": [
        "rearrange_quantiles"
      ]
    },
    {
      "page": "residuals.bqmm",
      "title": "Residuals from a bqmm fit",
      "topics": [
        "residuals.bqmm"
      ]
    },
    {
      "page": "summary.bqmm",
      "title": "Summarize a bqmm fit",
      "topics": [
        "summary.bqmm"
      ]
    },
    {
      "page": "summary.bqmm_multi",
      "title": "Summarize a bqmm_multi fit",
      "topics": [
        "summary.bqmm_multi"
      ]
    },
    {
      "page": "VarCorr.bqmm",
      "title": "Random-effect standard deviations and correlations",
      "topics": [
        "VarCorr.bqmm"
      ]
    },
    {
      "page": "vcov.bqmm",
      "title": "Variance-covariance of the fixed effects",
      "topics": [
        "vcov.bqmm"
      ]
    }
  ],
  "_readme": "https://github.com/cran/bqmm/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "BH",
    "boot",
    "callr",
    "checkmate",
    "cli",
    "cpp11",
    "desc",
    "distributional",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "loo",
    "magrittr",
    "MASS",
    "Matrix",
    "matrixStats",
    "minqa",
    "nlme",
    "nloptr",
    "numDeriv",
    "otel",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "processx",
    "ps",
    "QuickJSR",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "Rdpack",
    "reformulas",
    "rlang",
    "rstan",
    "rstantools",
    "S7",
    "scales",
    "StanHeaders",
    "tensorA",
    "tibble",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "bqmm-primer.Rmd",
      "filename": "bqmm-primer.html",
      "title": "A Primer on Bayesian Multilevel Quantile Regression",
      "author": "Kailas Venkitasubramanian",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Why model quantiles?",
        "Why multilevel?",
        "Why Bayesian?",
        "2. The model in one page",
        "3. Your first model",
        "4. Many quantiles at once",
        "5. Priors and the scale parameter",
        "6. Getting the uncertainty right",
        "7. Correlated random effects",
        "8. Diagnostics: is the fit trustworthy?",
        "9. Visualising results",
        "10. Practical guidance and pitfalls",
        "11. How bqmm relates to other tools",
        "References"
      ],
      "created": "2026-07-10 20:00:02",
      "modified": "2026-07-10 20:00:02",
      "commits": 1
    },
    {
      "source": "bqmm-intro.Rmd",
      "filename": "bqmm-intro.html",
      "title": "Introduction to bqmm",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A first model",
        "Several quantiles at once",
        "Valid inference"
      ],
      "created": "2026-07-10 20:00:02",
      "modified": "2026-07-10 20:00:02",
      "commits": 1
    },
    {
      "source": "bqmm-multilevel.Rmd",
      "filename": "bqmm-multilevel.html",
      "title": "Multilevel structure in bqmm",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Random intercepts",
        "Random slopes",
        "Nested and crossed grouping",
        "Practical notes"
      ],
      "created": "2026-07-10 20:00:02",
      "modified": "2026-07-10 20:00:02",
      "commits": 1
    },
    {
      "source": "bqmm-inference.Rmd",
      "filename": "bqmm-inference.html",
      "title": "Valid inference under the asymmetric Laplace likelihood",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The problem",
        "The correction",
        "Why not the plain Koenker sandwich?",
        "Scope and caveats",
        "References"
      ],
      "created": "2026-07-10 20:00:02",
      "modified": "2026-07-10 20:00:02",
      "commits": 1
    }
  ],
  "_score": 3.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "bqmm",
  "_universes": [
    "cran",
    "kvenkita"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-10T21:56:45.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e026a6c013c1fa4f7e567712e46d35e522f37ccc",
      "fileid": "https://r2.ropensci.org/c55774c3bce64f0d285b08e711b3617958ce37e156265b870efa889d777aeabe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29125659678"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-10T21:56:35.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e026a6c013c1fa4f7e567712e46d35e522f37ccc",
      "fileid": "https://r2.ropensci.org/0deef858e21e022e12376f1726fea8638fc6cf772c6fb918bfb60b968e6c3dbd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29125659678"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-10T21:56:38.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e026a6c013c1fa4f7e567712e46d35e522f37ccc",
      "fileid": "https://r2.ropensci.org/6c0caf3298be0b5fefdb36a9fca09765d3e4a12b53d8417d1dca8899a9b09359",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29125659678"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-10T21:56:30.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e026a6c013c1fa4f7e567712e46d35e522f37ccc",
      "fileid": "https://r2.ropensci.org/78c989ca2038aff20db91e8d638ecea69b5994d249e2fa8fbbcd8882ef66e38b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29125659678"
    }
  ]
}