inst/help/MixedModelsBLMM.md

Bayesian Linear Mixed Models

Bayesian 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). An introduction to this model class and the concepts introduced below is provided in Singmann and Kellen (2019).

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

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 15, 2024, 10:09 a.m.