assert_priors_error_requirements: Assert that either a prior on the error component is properly...

View source: R/tulip.R

assert_priors_error_requirementsR Documentation

Assert that either a prior on the error component is properly specified, or the initial states are not provided at all such that they are automatically generated alongside a residuals_global vector, or that a suitable residuals_global vector is provided that can be used to derive the not provided prior distribution on the error component.

Description

Assert that either a prior on the error component is properly specified, or the initial states are not provided at all such that they are automatically generated alongside a residuals_global vector, or that a suitable residuals_global vector is provided that can be used to derive the not provided prior distribution on the error component.

Usage

assert_priors_error_requirements(priors, init_states, y)

timradtke/heuristika documentation built on April 24, 2023, 1:55 a.m.