The document discusses the issues of interpreting residuals in generalized linear mixed models (GLMMs) and introduces the 'dharma' package for simulation-based residual diagnostics. It outlines two main options for residual analysis: calculating global p-values for summary statistics and measuring p-values per observation, which help identify model fit and potential issues. The tool aims to provide a user-friendly approach to checking hierarchical statistical models, emphasizing the importance of proper model diagnostics in statistical analysis.