piecewiseSEM icon indicating copy to clipboard operation
piecewiseSEM copied to clipboard

boundary (singular) fit problems in Mixed Effect Negative Binomial Model

Open karlie002 opened this issue 8 months ago • 0 comments

I am running a linear mixed models for a study about scRNAseq with the variable leiden( meaning different clusters) as a random variable. The thing is that I got what is called 'boundary (singular) fit ': my random variable has a variance and Std.Dev. close to 0

my model is like my_formula <- y ~ GENE_a+ GENE_b + n_genes + percent_mito + (1 | leiden) myFit <- glmer.nb(formula(my_formula), data = allMat, control = glmerControl(optimizer="bobyqa", calc.derivs = FALSE)) 截屏2024-06-21 15 07 11

karlie002 avatar Jun 21 '24 07:06 karlie002