respy.config
General configuration for respy.
respy.config.
ROOT_DIR
TEST_DIR
TEST_RESOURCES_DIR
MAX_FLOAT
MIN_FLOAT
MAX_LOG_FLOAT
MIN_LOG_FLOAT
COVARIATES_DOT_PRODUCT_DTYPE
numpy.dtype : Dtype of covariates before being used in a dot product.
If you convert a DataFrame with boolean variables and others to an NumPy array, the resulting array will have an ‘object’ dtype. Having an ‘object’ dtype array causes a lot of problems as functions like numpy.exp() will fail raising an uninformative error message.
numpy.exp()
DTYPE_STATES
INDEXER_DTYPE
numpy.dtype : Data type for the entries in the state space indexer.
INDEXER_INVALID_INDEX
int : Identifier for invalid states.
Every valid state has a unique number which is stored in the state space indexer at the correct position. Invalid entries in the indexer are filled with INDEXER_INVALID_INDEX which is the most negative value for INDEXER_DTYPE. Using the invalid value as an index likely raises an IndexError as negative indices cannot exceed the length of the indexed array dimension.
IndexError
TOL_REGRESSION_TESTS
SEED_STARTUP_ITERATION_GAP
DEFAULT_OPTIONS
KEANE_WOLPIN_1994_MODELS
KEANE_WOLPIN_1997_MODELS
KEANE_WOLPIN_2000_MODELS
ROBINSON_CRUSOE_MODELS
EXAMPLE_MODELS
respy.conditional_draws
respy.conftest