Browse code

more detail on solver recommendations

MikeDMorgan authored on 23/07/2024 12:48:34
Showing 1 changed files

... ...
@@ -156,6 +156,9 @@ solver, the constrained HE-NNLS re-frames the parameter estimation as a non-nega
156 156
 knock-on effect that the model solving might be close to singular - Milo will generate a warning for each nhood where this is the case. We therefore recommend you set `warning=FALSE` 
157 157
 if running in an Rstudio notebook, or wrap the function call in `suppressWarnings()`.
158 158
 
159
+As a guideline, we recommend that you use `solver="Fisher"` in `testNhoods` with a GLMM - if the system is well conditioned then the performance is superior to the HE/HE-NNLS 
160
+approaches and faster.
161
+
159 162
 As we are estimating variances, we also want these to be unbiased, so we use restricted maximum likelihood (`REML=TRUE`). Note that NB-GLMMs are by construction slower than 
160 163
 NB-GLMs as there are additional matrix inversion steps that don't scale very nicely. While we have made every effort to reduce the computational burden we are still limited by the bounds of matrix algebra! 
161 164