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

Calculate (approximate) covariance matrix for covariance estimates themselves #493

Open
danielinteractive opened this issue Dec 11, 2024 · 0 comments
Labels
enhancement New feature or request SP13

Comments

@danielinteractive
Copy link
Collaborator

Summary

Sometimes it would be useful to be able to construct confidence intervals for e.g. visit specific variance estimates. In principle, this is possible today already, by combining the diag(fit$cov) point estimates with standard errors that could be derived from fit$theta_vcov and the known mapping from theta to the covariance matrix entries. However, that is quite cumbersome, and the user would need to do it from scratch.

Therefore it would be great to return an (approximate) covariance matrix for the the covariance matrix estimates themselves as part of the model fit object.

Additional Information

  • We could check how glmmTMB is doing it (or not)
  • In principle we should be able to use the automatic differentiation also for this purpose, would need to write down the details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request SP13
Projects
Status: Issue To start
Development

No branches or pull requests

1 participant