Description Usage Arguments Value Author(s) See Also Examples
View source: R/diagnostic_AM.R
Diagnostic check for convergence of Assess models during MSE.
Assess models write output to the DLMenv environment if the MP was created with make_MP
with argument diagnostic = TRUE
. This function summarizes and plots the diagnostic information.
1 | diagnostic_AM(MSE, MP = NULL, gradient_threshold = 0.1, figure = TRUE)
|
MSE |
An object of class MSE created by |
MP |
A character vector of MPs with assessment models. |
gradient_threshold |
The maximum magnitude (absolute value) desired for the gradient of the likelihood. |
figure |
Logical, whether a figure will be drawn. |
A matrix with diagnostic performance of assessment models in the MSE. If figure = TRUE
,
a set of figures: traffic light (red/green) plots indicating whether the model converged (defined if a positive-definite
Hessian matrix was obtained), the optimizer reached pre-specified iteration limits (as passed to nlminb
),
and the maximum gradient of the likelihood in each assessment run. Also includes the number of optimization iterations
function evaluations reported by nlminb
for each application of the assessment model.
Q. Huynh
retrospective_AM
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.