Comprehensive health check for a model_spec, including likelihood evaluation, gradient computation, and identifiability diagnostics.
Examples
spec <- model_spec_normal()
y <- rnorm(100, 5, 2)
diagnose_model(spec, y)Comprehensive health check for a model_spec, including likelihood evaluation, gradient computation, and identifiability diagnostics.
spec <- model_spec_normal()
y <- rnorm(100, 5, 2)
diagnose_model(spec, y)