Closed dfalster closed 8 years ago
in 98491c54c1abc57bda278f006b95c470204e0705 I reduced k_l0 so that better aligns with tropical data.
More generally, aligning model output with empirical estimates of dbh growth in figure 1 seems like an ideal candidate for model-data fusion
More generally, want to fit model to data.
Spoke with @dsteinberg about possible techniques. Here's suggested way forward
@jscamac suggests using minpack.lm. According to this blog, the standard nls routine in R does not use the Levenberg-Marquardt approach, which "is more robust, i.e. finds a solution even if it starts very far off the final minimum. This is because its switching between Gauss-Newton and gradient descent.
I've been using it to provide initials parameter values for the JAGS models. Still is highly susceptible to starting conditions though... but less so than nls() .
This might also be more useful. http://cran.r-project.org/web/packages/gnm/index.html.
More details on custom equations here: http://stackoverflow.com/questions/26344429/fitting-generalized-nonlinear-model-in-r/26407073#26407073