Open eeholmes opened 1 year ago
Also -- at some point, change the parameter matrices to arrays to allow them to be time-varying like MARSS? Or add that on later?
@ericward-noaa I think I got the time-varying code working. All models that can be fit with BFGS should be able to be fit now with TMB. Will need latest marssTMB installed but after just call MARSS(..., method="TMB")
use BFGS_TMB to use optim() instead of nlminb().
Q.diagonal() = Q.diagonal().exp();
https://stackoverflow.com/questions/33834873/modify-eigen-matrix-diagonal. vectorLATER
MARSS