Package: brmsmargins 0.2.0
brmsmargins: Bayesian Marginal Effects for 'brms' Models
Calculate Bayesian marginal effects, average marginal effects, and marginal coefficients (also called population averaged coefficients) for models fit using the 'brms' package including fixed effects, mixed effects, and location scale models. These are based on marginal predictions that integrate out random effects if necessary (see for example <doi:10.1186/s12874-015-0046-6> and <doi:10.1111/biom.12707>).
Authors:
brmsmargins_0.2.0.tar.gz
brmsmargins_0.2.0.tar.gz(r-4.5-noble)brmsmargins_0.2.0.tar.gz(r-4.4-noble)
brmsmargins_0.2.0.tgz(r-4.4-emscripten)brmsmargins_0.2.0.tgz(r-4.3-emscripten)
brmsmargins.pdf |brmsmargins.html✨
brmsmargins/json (API)
NEWS
# Install 'brmsmargins' in R: |
install.packages('brmsmargins', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jwiley/brmsmargins/issues
Pkgdown site:https://joshuawiley.com
Last updated 3 years agofrom:0ae5738bb1. Checks:OK: 1 NOTE: 1. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 04 2024 |
R-4.5-linux-x86_64 | NOTE | Dec 04 2024 |
Exports:brmsmarginsbsummaryintegratemvnintegraterelmcppmarginalcoefpredictionrowBootMeanstab2mat
Dependencies:abindbackportsbayesplotbayestestRBHbridgesamplingbrmsBrobdingnagcallrcheckmateclicodacodetoolscolorspacedata.tabledatawizarddescdigestdistributionaldplyrextraoperatorsfansifarverfuturefuture.applygenericsggplot2ggridgesglobalsgluegridExtragtableinlineinsightisobandlabelinglatticelifecyclelistenvloomagrittrMASSMatrixmatrixStatsmgcvmunsellmvtnormnleqslvnlmenumDerivparallellypillarpkgbuildpkgconfigplyrposteriorprocessxpsQuickJSRR6RColorBrewerRcppRcppArmadilloRcppEigenRcppParallelreshape2rlangrstanrstantoolsscalesStanHeadersstringistringrtensorAtibbletidyselectutf8vctrsviridisLitewithr
Marginal Effects for Fixed Effects Models
Rendered fromfixed-effects-marginaleffects.Rmd
usingknitr::rmarkdown
on Dec 04 2024.Last update: 2022-05-18
Started: 2021-12-16
Marginal Effects for Location Scale Models
Rendered fromlocation-scale-marginaleffects.Rmd
usingknitr::rmarkdown
on Dec 04 2024.Last update: 2022-05-18
Started: 2021-12-16
Marginal Effects for Mixed Effects Models
Rendered frommixed-effects-marginaleffects.Rmd
usingknitr::rmarkdown
on Dec 04 2024.Last update: 2022-05-18
Started: 2021-12-16
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Calculate Marginal Effects from 'brms' Models | brmsmargins |
Personal Preference Based Bayesian Summary | bsummary |
Integrate over Multivariate Normal Random Effects | integratemvn integratemvnR |
Integrate over Random Effects | integratere integratereR |
Fast Linear Regression | lmcpp |
Marginal Coefficients from a 'brms' Model | marginalcoef |
Marginal Posterior Predictions from a 'brms' Model | prediction |
Bootstrap Row Means | rowBootMeans |
Convert a Row of a Table to a Square Matrix | tab2mat tab2matR |