Skip to contents

All functions

because()
Run a Bayesian Structural Equation Model
because_compare()
Compare Because Models
because_dsep()
Extract d-separation statements from a structural equation model
because_family()
Create a Custom Family (Distribution) for use with because
because_format_data()
Format Data for Because Analysis
because_loo()
Calculate LOO-CV for a Because Model
because_loo_compare()
Compare Models Using LOO-CV
because_mediation()
Automated Mediation Analysis
because_model()
Generate a JAGS model string for Bayesian SEM (Because)
because_structure()
Create a Custom Covariance Structure for use with because
because_waic()
Calculate WAIC with Standard Errors for a Because Model
extract_imputed()
Extract Imputed Values for Missing Data
.nimble_fn_cache
Family Definition Generics and Default Methods
get_family()
Create a family object for a given distribution
get_inherited_random_terms()
Get inherited random terms for a variable based on hierarchy
get_level_depth()
Get Depth of a Level in Hierarchy
is_cross_hierarchy_test()
Check if a d-sep test is a cross-hierarchy test (trivially satisfied)
marginal_effects()
Calculate Marginal Effects for Because Fit
plot_coef()
plot_coef
plot_coef(<because>)
Plot Path Coefficients (Caterpillar Plot)
plot_dag()
Plot DAG from Equations or Fitted Model
plot_dsep()
plot_dsep
plot_posterior()
Plot Posterior Distributions for Model Comparison
posterior_predict(<because>)
Generate Posterior Predictive Draws for Because Models
pp_check(<because>)
Posterior Predictive Checks for Because Fits
storks
Data on Stork Populations and Human Birth Rates
summary(<because>)
Summary for Because Model