OpenSourceEconomics / grmpy

Python package for the simulation and estimation of generalized Roy model
http://grmpy.readthedocs.io
MIT License
19 stars 5 forks source link

failure in processing random test #162

Closed peisenha closed 6 years ago

peisenha commented 6 years ago
seed =  4178
np.random.seed(seed)

dict_ = generate_random_dict()
print_dict(dict_)
simulate('test.grmpy.ini')
fit('test.grmpy.ini')

Traceback (most recent call last):
  File "run.py", line 22, in <module>
    fit('test.grmpy.ini')
  File "/home/peisenha/external_storage/ownCloud/office/workspace/OpenSourceEconomics/grmpy/grmpy/estimate/estimate.py", line 33, in fit
    check_init_file(dict_)
  File "/home/peisenha/external_storage/ownCloud/office/workspace/OpenSourceEconomics/grmpy/grmpy/check/check.py", line 66, in check_init_file
    raise UserError(msg)
grmpy.check.custom_exceptions.UserError: 

         The distributional characteristics have to be undeterministic.
peisenha commented 6 years ago

... withdraw as I now understand