Checks the portable schema, model and optimizer metadata, parameter map,
bounds, compact estimability output, provenance, and any stored MCMC array.
This is structural validation: it does not rebuild the RTMB objective or
independently recompute the stored runtime identity. Use
sbt_fit_rebuild() for implementation and objective checks. Fits written
by sbt_fit_save() and loaded by sbt_fit_read() have their runtime and
posterior identities and embedded fit-validation records verified against
the serialized payload.
See also
Other fit workflow:
check_mcmc(),
check_mle(),
sbt_add_bounds(),
sbt_add_map(),
sbt_add_msy(),
sbt_add_parameters(),
sbt_add_priors(),
sbt_build_object(),
sbt_example_fit(),
sbt_fit(),
sbt_fit_compatibility(),
sbt_fit_io,
sbt_fit_rebuild(),
sbt_fit_report(),
sbt_fit_validation(),
sbt_mcmc(),
sbt_obj(),
sbt_optimise()
Examples
fit <- sbt_example_fit(rebuild = FALSE)
#> Warning: Dependency versions differ: RTMBdist, TMB
sbt_fit_validate(fit)
