inst/help/MixedModelsBGLMM.md

Bayesian Generalized Linear Mixed Models

Bayesian Generalized Linear Mixed Models allow you to model a linear relationship between one or more explanatory variable(s) and a continuous dependent variable in cases where the observations are not independent, but clustered given one or several random effects grouping factors (e.g., repeated measures across participants or items, children within schools). They are generalization of Bayesian Linear Mixed Models and allow to model response variables that are not continous using a different likelihoods and link functions.

Assumptions

The analysis uses orthonormal contrasts such that the marginal prior on all fixed effects is identical for categorical (nominal and ordinal) predictors (R uses dummy encoding by default). This scheme is used for better interpretability of models with interactions. However, the fixed and random effects estimates will differ from those obtained from R with default settings. We advise using the 'Estimated marginal means' section for obtaining mean estimates at individual factor levels. For comparing the mean estimates, use the contrasts option.

The analysis uses a long data format.

The prior distributions are weakly informative and should be well-behaved in parameter estimation settings. The module uses the default prior distribution settings of the rstanarm R package which defines normal(location = 0, scale = 2.5) prior distributions on scaled and centered model coefficients.

Input

Assignment Box

Family

Link

Run Analysis

Press the button to run the analysis. Model relevant changes in the settings will not be applied until the button is pressed.

Output

Model

Options

MCMC diagnostics

Plots

Estimated marginal means

Estimated trends/conditional slopes

References

R Packages



jasp-stats/jaspMixedModels documentation built on April 5, 2025, 3:53 p.m.