Skip to contents

This function summarizes the fixed effects (marginal B | Y, X) from the posterior simulations.

Usage

summarize_fixed_effects(B_sims, X, Y)

Arguments

B_sims

A 3D array containing the posterior simulations of the fixed effects.

X

Matrix of covariates (predictors) used in the model.

Y

Matrix of response variables.

Value

A summary of the fixed effects (mean, sd, quantiles) for each predictor and response variable.

Author

Joaquín Martínez-Minaya jmarmin@eio.upv.es