Skip to content
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

Unify variance estimation approaches #3

Open
dill opened this issue Oct 27, 2014 · 3 comments
Open

Unify variance estimation approaches #3

dill opened this issue Oct 27, 2014 · 3 comments
Milestone

Comments

@dill
Copy link
Contributor

dill commented Oct 27, 2014

At the moment, there is dsm.var.prop and dsm.var.gam to estimate variance of abundance estimates. This is confusing, it would be better to include uncertainty from the detection function by default when possible and inform the user which is happening. (There's also a lot of code duplication.)

Also need to implement parametric bootstrap method as suggested in Wood (2006).

@dill dill added this to the Version 3 milestone Oct 27, 2014
@dill
Copy link
Contributor Author

dill commented Oct 28, 2014

Also worth making the output from these functions much tidier (tidyr?) -- at the moment it's mostly incomprehensible garbage...

@dill
Copy link
Contributor Author

dill commented Jul 8, 2020

moving this to 2.4.x release as it will break a lot of code.

@dill dill modified the milestones: 2.3.1, 2.4.x Jul 8, 2020
@dill dill self-assigned this Jan 12, 2021
@dill
Copy link
Contributor Author

dill commented Nov 29, 2022

Probably best to do this as a UI change to wrap the two existing functions, that will break minimal stuff.

Eventually one could merge them completely, as there is a lot of overlapping code.

For posterior sampling, I'd think a function like dsm_posterior_samples(varprop_result, n_samples=1000, newdata=predgrid) would give you what you want? (It's just a wrapper around rmvn and then some matrix multiplication/application of the inverse link function.)

@dill dill removed their assignment Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants