BLP-Python
BLP-Python copied to clipboard
Python implementation of cal_mu, cal_s, and cal_ind_choice_prob
The C implementation and parallelization speed up the running a lot, but changing the C code is an intimidating task since I am not familiar with C any more.
Do you happen to have written these three functions in _BLP.c in Python?
cal_mu cal_s and cal_ind_choice_prob
Hi - sorry for the late reply.
Please take a look at the BLP class in pyBLP.py. It has _cal_μ() and _cal_s(). _cal_μ() is not being used currently, but it is there for debugging purposes. It does not have cal_ind_choice_prob though - I'm sorry.