andrew-edwards / EDMsimulate

An R package for simulating fish populations for empirical dynamic modeling
1 stars 1 forks source link

Next: add pbsEDM::multivariate_simplex() to fit_models() and sim_and_fit_realisations() #19

Open andrew-edwards opened 9 months ago

andrew-edwards commented 9 months ago

Output from multivariate_simplex() may be slightly different to other ones. Also check what rho is being used in the selection of the best, but stick with Carrie's code for the comparisons. (best rho may be based on all variables, not just response, but that seems fine in keeping with Takens' Theorem).

andrew-edwards commented 9 months ago

Can base the fit_models() call on fit_mve in there (with some tweaking; can use lags = mve_args so we test the same lags (and valid subsets) as for mve.

Presumably try that first, then adapt sim_and_fit_realisations() to actually store the output.

carrieholt commented 9 months ago

I added outputs for multivariate simplex, (mvs), with an option to not fit, as it takes a very long time to run it! Also, both EDM and MVS give negative forecasts sometimes.