Posts

Showing posts with the label Singular Fit

Metastability and Eye Movements: A Dynamical‑Systems Interpretation

  1. Why metastability is a natural language for gaze behavior The idea that perception, attention, and neural activity evolve through transiently stable states has deep roots in cognitive science and neuroscience. Concepts such as attractors , basins , noise‑induced transitions , and escape times appear in work on perceptual switching, decision‑making, and neural population dynamics (Kelso, 1995; Rabinovich et al., 2008; Deco & Jirsa, 2012). Eye movements, especially the alternation between fixations and saccades ,   fit remarkably well into this metastable picture. The Freidlin–Wentzell theory of rare events (Freidlin & Wentzell, 2012) provides a rigorous mathematical language for these intuitions. 2. Fixations as metastable states  Consider the gaze position X t as the state of a stochastic dynamical system. During a fixation the  gaze remains confined to a small region, microsaccades and noise generate small fluctuations, and the gaze tends to return...

Diagnosing Singular Fits in Linear Mixed Models: Practical Examples, Code, and Alternatives

Image
  Introduction This post is the practical follow‑up to When Linear Mixed Models Don’t Converge , where I discussed the theoretical reasons why convergence issues often arise in linear mixed models. Here, we move from theory to practice: simulated examples, diagnostic tools, interpretation of singular fits, and practical modeling alternatives. If you haven’t read the first part yet, you may want to start there for the conceptual foundations. Figure. Conceptual map showing how model complexity and available information interact Legend of Figure 1. Green = identifiable models; yellow = risk of singularity; red = non‑identifiable models. A Concrete Example Using R: When a Random-Slope Model Becomes Singular Let’s simulate a simple dataset with only 8 groups and a very small random‑slope variance. This is a classic scenario where the model converges numerically but is statistically non‑identifiable. ```r set.seed(123) n_groups <- 8 n_per_group <- 20 group <- factor(rep(1:n_gro...

Popular posts from this blog

Diagnosing Singular Fits in Linear Mixed Models: Practical Examples, Code, and Alternatives

Understanding Anaerobic Threshold (VT2) and VO2 Max in Endurance Training

Unit Root Testing in Practice: A Tutorial on ADF–KPSS, Specification, and Diagnostics