Power Analysis via Data Simulation for (Generalized) Linear Mixed Effects Models
Simulate the Outcome Variable
Safely Convert Character Vectors to Factors
Define the Experimental Structure of an Experimental Design
Create the Design Matrix for a Simulation
Internal Data Plotting Engine
Calculate Fixed-Effects Coefficients from Mean Outcomes
Get the Expected Fixed-Effects Structure
Get the Expected Random-Effects Structure
Pipe operator
Visualize Simulation Data or Power Simulation Results
Perform a Power Analysis for (Generalized) Linear Mixed-Effects Models...
Summarize a Power Simulation Result
Conduct a priori power analyses via Monte-Carlo style data simulation for linear and generalized linear mixed-effects models (LMMs/GLMMs). Provides a user-friendly workflow with helper functions to easily define fixed and random effects as well as diagnostic functions to evaluate the adequacy of the results of the power analysis.