Estimate Bayesian Multilevel Models for Compositional Data
MCMC Plots Implemented in bayesplot
Mean amounts and mean compositions presented in a complr
object.
Extracting the Model Frame from a Formula or Fit from brmcoda
object
multilevelcoda Simulation Study Results
Extract Number of Observations from brmcoda
object
Create a matrix of output plots from a brmcoda
's brmsfit
object
Trace and Density Plots for MCMC Draws plot
Substitution Plot
Posterior Predictive Checks for brmcoda
Objects
Draws from the Posterior Predictive Distribution
Print a Summary for a fitted brmsfit
model in a brmcoda
object
Print a Summary for a complr
object
Print a Summary for a substitution
object
Summary for a complr
object
Extract Priors of a brmsfit
from a brmcoda
object
Bayes Factors from Marginal Likelihoods
Interface to shinystan
Efficient approximate leave-one-out cross-validation (LOO)
Extract Compositional Data from complr
object.
Base Pairwise Substitution
Fit Bayesian generalised (non-)linear multilevel compositional model v...
Between-person Simple Substitution
Between-person Average Substitution
Reference Grid for substitution
model.
Model Coefficients
Indices from a (dataset of) Multilevel Composition(s) (deprecated.)
Indices from a (dataset of) Multilevel Composition(s)
Constructor function for substitution
class.
Extract Diagnostic Quantities from brmsfit
Models in brmcoda
Index brmcoda
objects
Expected Values of the Posterior Predictive Distribution
Population-Level Estimates
Helper functions used only internally to estimate substitution model
Checks if argument is a brmcoda
object
Checks if argument is a complr
object
Checks if argument is a substitution
object
Group-Level Estimates
Posterior Draws of Residuals/Predictive Errors
Simple Substitution
Average Substitution
Multilevel Compositional Substitution Analysis
Create a Summary of a fitted brmsfit
model in a brmcoda
object
Create a Summary of a complr
object
Create a Summary of a Substitution Model represented by a `substitutio...
Update brmcoda
models
Update complr
Variance of compositions presented in a complr
object.
Extract Variance and Correlation Components
Covariance and Correlation Matrix of Population-Level Effects
Within-person Simple Substitution
Within-person Average Substitution
Implement Bayesian Multilevel Modelling for compositional data in a multilevel framework. Compute multilevel compositional data and Isometric log ratio (ILR) at between and within-person levels, fit Bayesian multilevel models for compositional predictors and outcomes, and run post-hoc analyses such as isotemporal substitution models.
Useful links