Package: adjustr 0.1.2
adjustr: Stan Model Adjustments and Sensitivity Analyses using Importance Sampling
Functions to help assess the sensitivity of a Bayesian model (fitted using the rstan pakcage) to the specification of its likelihood and priors. Users provide a series of alternate sampling specifications, and the package uses Pareto-smoothed importance sampling to estimate posterior quantities of interest under each specification.
Authors:
adjustr_0.1.2.tar.gz
adjustr_0.1.2.zip(r-4.5)adjustr_0.1.2.zip(r-4.4)adjustr_0.1.2.zip(r-4.3)
adjustr_0.1.2.tgz(r-4.4-any)adjustr_0.1.2.tgz(r-4.3-any)
adjustr_0.1.2.tar.gz(r-4.5-noble)adjustr_0.1.2.tar.gz(r-4.4-noble)
adjustr_0.1.2.tgz(r-4.4-emscripten)adjustr_0.1.2.tgz(r-4.3-emscripten)
adjustr.pdf |adjustr.html✨
adjustr/json (API)
NEWS
# Install 'adjustr' in R: |
install.packages('adjustr', repos = c('https://corymccartan.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/corymccartan/adjustr/issues
Last updated 4 years agofrom:2347cb57a9 (on v0.1.2). Checks:OK: 1 ERROR: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 01 2024 |
R-4.5-win | ERROR | Nov 01 2024 |
R-4.5-linux | ERROR | Nov 01 2024 |
R-4.4-win | ERROR | Nov 01 2024 |
R-4.4-mac | ERROR | Nov 01 2024 |
R-4.3-win | ERROR | Nov 01 2024 |
R-4.3-mac | ERROR | Nov 01 2024 |
Exports:adjust_weightsextract_samp_stmtsget_resampling_idxsmake_specspec_plot
Dependencies:abindbackportsBHcallrcheckmateclicolorspacedescdistributionaldplyrfansifarvergenericsggplot2gluegridExtragtableinlineisobandlabelinglatticelifecycleloomagrittrMASSMatrixmatrixStatsmgcvmunsellnlmenumDerivpillarpkgbuildpkgconfigposteriorprocessxpspurrrQuickJSRR6RColorBrewerRcppRcppEigenRcppParallelrlangrstanscalesStanHeadersstringistringrtensorAtibbletidyselectutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Compute Pareto-smoothed Importance Weights for Alternative Model Specifications | adjust_weights |
adjustr: Stan Model Adjustments and Sensitivity Analyses using Importance Sampling | adjustr |
Convert an 'adjustr_spec' Object Into a Data Frame | as.data.frame.adjustr_spec |
'dplyr' Methods for 'adjustr_spec' Objects | arrange.adjustr_spec dplyr.adjustr_spec filter.adjustr_spec rename.adjustr_spec select.adjustr_spec slice.adjustr_spec |
Extract Model Sampling Statements From a Stan Model. | extract_samp_stmts |
Get Importance Resampling Indices From Weights | get_resampling_idxs |
Set Up Model Adjustment Specifications | make_spec |
Extract Weights From an 'adjustr_weighted' Object | pull.adjustr_weighted |
Plot Posterior Quantities of Interest Under Alternative Model Specifications | spec_plot |
Summarize Posterior Distributions Under Alternative Model Specifications | summarise.adjustr_weighted summarize.adjustr_weighted |