Skip to content

Commit

Permalink
Update troubleshooting.qmd
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidhuharp97 committed Jan 20, 2025
1 parent 6585d2d commit 1d0cff1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions chapters/troubleshooting.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,23 @@ execute:
eval: false
---

In this tutorial, we have demonstrated how to use linear mixed models for different experiment designs. However, it is likely that you will eventually have issues in conducting mixed models in R, such as lack of convergence


This section discusses common issues and errors that might come up when implementing mixed models.
## Common Errors we Encounter

1. Singular fit error in linear mixed models

error produced in output is:
`boundary (singular) fit: see ?isSingular`.

This error occurs because one of the variance component is approximately 0.
If a model is "singular", this means that some dimensions of the variance-covariance matrix have been estimated as exactly zero or really close to zero. This often occurs for mixed models with complex random effects structures.


2. Model failed to converge

### Convergence Issues


Expand Down

0 comments on commit 1d0cff1

Please sign in to comment.