You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the model is parametrized currently, delta is a value between 0 and 1 and theta is a positive value. When fitting the model with optim this sometimes leads to non-convergence. This can easily be fixed by transforming the parameters for the function RSS passed to optim, so that each parameter can take any real value. For example, take the logit of delta and the log of theta, and then back-transform before passing the parameters to the other functions inside RSS. This solves the convergence issues.
The text was updated successfully, but these errors were encountered:
As the model is parametrized currently,
delta
is a value between 0 and 1 andtheta
is a positive value. When fitting the model withoptim
this sometimes leads to non-convergence. This can easily be fixed by transforming the parameters for the functionRSS
passed tooptim
, so that each parameter can take any real value. For example, take the logit ofdelta
and the log oftheta
, and then back-transform before passing the parameters to the other functions insideRSS
. This solves the convergence issues.The text was updated successfully, but these errors were encountered: