--
To post to this group, send email to us...@tmb-project.org. Before posting, please check the wiki and issuetracker at https://github.com/kaskr/adcomp/. Please try to create a simple repeatable example to go with your question (e.g issues 154, 134, 51). Use the issuetracker to report bugs.
---
You received this message because you are subscribed to the Google Groups "TMB Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmb-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tmb-users/8ca81aa8-c588-4561-9bc3-54365696abcao%40googlegroups.com.
Hi John,You can extract them very easily from the sdreport().e.g. if the result of MakADFun() is "obj", then:sdr <- sdreport(obj)
summary(sdr,select="random")will give you the best estimates for the random effects plus their std. errors.Cheers,Gavin
On Wed, Aug 5, 2020 at 7:24 PM John Sibert <johnr...@gmail.com> wrote:
--Is it reasonable to ask about the estimated standard deviations of estimated random effects? If so, how does one compute the estimated standard deviations of estimated random effects?Thanks,John
To post to this group, send email to us...@tmb-project.org. Before posting, please check the wiki and issuetracker at https://github.com/kaskr/adcomp/. Please try to create a simple repeatable example to go with your question (e.g issues 154, 134, 51). Use the issuetracker to report bugs.
---
You received this message because you are subscribed to the Google Groups "TMB Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmb-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tmb-users/8ca81aa8-c588-4561-9bc3-54365696abcao%40googlegroups.com.
I was trying to find an easy way to sample from the random effects in TMB. The SIMULATE option allows you to simulate the data. However, we are trying to implement a Frequentist version of posterior predictive checks which requires also sampling the parameters from their uncertainty distribution. In this case we are using a normal approximation using the MLEs and the variance-covariance matrix. We have it implemented for a fixed effects model, but now want to apply it to a random effects (state-space) model. We can call the $simulate(par=sample_pars) function with a random set of parameters. However, we need to generate this set of random parameters, which includes the random effects (actually all that is needed is the random effect representing biomass over time in a theta-logistic type population dynamics model). Do you have an example of sampling from the random effects or is there a function in TMB that automates this.
Kasper replied (to my e-mail, which is copied above)
Please have a look at:
http://kaskr.github.io/adcomp/_book/Simulation.html#overview-of-simulation-methods-in-tmb
It sounds to me like section 13.2.3 has the information you ask for?
--
To post to this group, send email to us...@tmb-project.org. Before posting, please check the wiki and issuetracker at https://github.com/kaskr/adcomp/. Please try to create a simple repeatable example to go with your question (e.g issues 154, 134, 51). Use the issuetracker to report bugs.
---
You received this message because you are subscribed to the Google Groups "TMB Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmb-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tmb-users/9410f3fb-a8a9-45e5-9bb0-90bdab172927o%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tmb-users/CAMDbYva1RBeutPzdVUS%3Dx08JSPYu_NnpOZHFp23p%2BgYz_vgj%2Bg%40mail.gmail.com.
--
To post to this group, send email to us...@tmb-project.org. Before posting, please check the wiki and issuetracker at https://github.com/kaskr/adcomp/. Please try to create a simple repeatable example to go with your question (e.g issues 154, 134, 51). Use the issuetracker to report bugs.
---
You received this message because you are subscribed to the Google Groups "TMB Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmb-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tmb-users/aa128ab3-7469-478a-91d7-0ac543c34720o%40googlegroups.com.
--
To post to this group, send email to us...@tmb-project.org. Before posting, please check the wiki and issuetracker at https://github.com/kaskr/adcomp/. Please try to create a simple repeatable example to go with your question (e.g issues 154, 134, 51). Use the issuetracker to report bugs.
---
You received this message because you are subscribed to the Google Groups "TMB Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmb-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tmb-users/69ac8202-f00c-414f-a57a-842a3011dabbo%40googlegroups.com.