:py:mod:`respy.pre_processing.model_checking` ============================================= .. py:module:: respy.pre_processing.model_checking .. autoapi-nested-parse:: Everything related to validate the model. .. !! processed by numpydoc !! Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: respy.pre_processing.model_checking.validate_options respy.pre_processing.model_checking.validate_params respy.pre_processing.model_checking._validate_shocks respy.pre_processing.model_checking._is_positive_nonzero_integer respy.pre_processing.model_checking._is_nonnegative_integer respy.pre_processing.model_checking.check_model_solution respy.pre_processing.model_checking._apply_to_attribute_of_state_space .. py:function:: validate_options(o) Validate the options provided by the user. .. !! processed by numpydoc !! .. py:function:: validate_params(params, optim_paras) Validate params. .. !! processed by numpydoc !! .. py:function:: _validate_shocks(params, optim_paras) Validate that the elements of the shock matrix are correctly sorted. .. !! processed by numpydoc !! .. py:function:: _is_positive_nonzero_integer(x) .. py:function:: _is_nonnegative_integer(x) .. py:function:: check_model_solution(optim_paras, options, state_space) Check properties of the solution of a model. .. !! processed by numpydoc !! .. py:function:: _apply_to_attribute_of_state_space(attribute, func) Apply a function to a state space attribute which might be dense or not. Attribute might be `state_space.wages` which can be a dictionary or a Numpy array. .. !! processed by numpydoc !!