respy.pre_processing.data_checking

Test functions to ensure the validity of data.

Module Contents

Functions

check_estimation_data(df, optim_paras)

Check data for estimation.

check_simulated_data(optim_paras, df)

Check simulated data.

respy.pre_processing.data_checking.check_estimation_data(df, optim_paras)[source]

Check data for estimation.

Parameters
optim_parasdict

Dictionary containing model optim_paras.

dfpandas.DataFrame

Data for estimation.

Raises
AssertionError

If data has not the expected format.

respy.pre_processing.data_checking.check_simulated_data(optim_paras, df)[source]

Check simulated data.

This routine runs some consistency checks on the simulated dataset. Some more restrictions are imposed on the simulated dataset than the observed data.