-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expanding abundance when fitting Bernoulli-cloglog model #339
Comments
To clarify the problem a bit more: If you have a count
We then might want to calculate the total intensity I think the simplest option is to pass TMB two As I said, I need to implement this in tinyVAST e.g., to allow this demo to give the same index results when using the presence-absence or other variables as default factor level, and I'd love to keep in lock-step with sdmTMB regarding |
Hmm. A few thoughts:
Assuming it might be used in a standard delta model and that a new Bernoulli wouldn't solve it, yes, something like |
One use-case for SDMs is to fit a logistic-regression using a cloglog link function, but then (instead of using the inverse-link to calculate the predictor) exponentiating the linear predictor to calculate abundance that could then be reported from
predict
or when calculating an area-weighted abundance index. This is, e.g., used by Gruss-Thorson-2019, and it matches the interpretation of a cloglog link as a thinned Poisson-point-process from the presence-only literature. It is implemented in VAST using ObsModel[13,1], as demonstrated in the combined-data demo.I envision that we need some interface that separates (1) the inverse-link function that's applied when calculating the data likelihood from (2) the inverse-link function that's applied when calculating the predicted response for
predict
calls. I'd then copy the same interface for use intinyVAST
. Any ideas, or do you want to discuss @seananderson?The text was updated successfully, but these errors were encountered: