brms_model: Bayesian Regression Model across Responses

View source: R/estimators.R

brms_modelR Documentation

Bayesian Regression Model across Responses

Description

Apply a Bayesian regression model in parallel across each response $y$ in an outcome or mediation model. This can be helpful when we want to share information across related

Usage

brms_model(...)

Arguments

...

Keyword parameters passed to brm.

Value

model An object of class model with estimator, predictor, and sampler functions associated wtih a Bayesian regression model.

See Also

glmnet_model lnm_model rf_model lm_model

Examples

exper <- demo_joy() |>
    mediation_data("PHQ", "treatment", starts_with("ASV"))
multimedia(exper, brms_model()) # call estimate() on this to fit

multimedia documentation built on Sept. 30, 2024, 9:28 a.m.