Pacific-salmon-assess / samSim

3 stars 0 forks source link

Confused by the use of rickerSurvModel in the LRP branch #16

Closed catarinawor closed 2 years ago

catarinawor commented 2 years ago

I need help understandidng the generation of the survival covariates in the priming loop, when y>3 here.

I am having trouble understanding how the delays relate to the age structure. if either @krHolt or @carrieholt could go over it, that would be fantastic.

krHolt commented 2 years ago

I just added some documentation to the code around this issue, but we should still go over it together to discuss.

catarinawor commented 2 years ago

@krHolt did you push it? I am not seeing it!

catarinawor commented 2 years ago

Thank you for the explanations, Kendra. Super helpful. Just a reminder to follow up on the sources of the variable coVarInit, used to calculate Sgen and Smsy when the RickerSurv model is used.

krHolt commented 2 years ago

At present:

I parameterize coVarInit as exp(mu_logCoVar1), which means that these two are retrievable from each other. I think it makes sense to remove coVarInit as an input parameter, and just use exp(mu_logCovar1) to calculate alpha_prime.

krHolt commented 2 years ago

I have now removed coVarInit as a model parameter, and now use exp(mu_logCovar1) to calculate alpha_prime.