How does sdmTMB calculate the variance within get_index()? #119
-
Question by email:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The standard error on the index is calculated using the generalized delta method as implemented in TMB. Yes, you’re on the right track, but the ‘generalized’ version is used because of the random effects. That is described in Another option we’ve used sometimes is with the One last option is to use the MCMC samples from tmbstan and pass those to |
Beta Was this translation helpful? Give feedback.
The standard error on the index is calculated using the generalized delta method as implemented in TMB. Yes, you’re on the right track, but the ‘generalized’ version is used because of the random effects. That is described in
?TMB::sdreport
and probably in the TMB paper. There’s also some bias on the mean introduced because of theexp()
transformation before summing up the biomass/abundance. That can be corrected in a variety of ways. Ifbias_correct = TRUE
then this method is implemented. This can be quite slow and memory intensive, but less so with recent versions of sdmTMB where it only bias corrects the necessary values and uses an approach Kasper recently implemented in TMB that gets…