Skip to content

How does sdmTMB calculate the variance within get_index()? #119

Answered by seananderson
seananderson asked this question in Q&A
Discussion options

You must be logged in to vote

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 the exp() transformation before summing up the biomass/abundance. That can be corrected in a variety of ways. If bias_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…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by seananderson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant