BLP-Python icon indicating copy to clipboard operation
BLP-Python copied to clipboard

Python implementation of cal_mu, cal_s, and cal_ind_choice_prob

Open cniedotus opened this issue 8 years ago • 1 comments

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

cniedotus avatar May 29 '17 22:05 cniedotus

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.

joonro avatar Jun 03 '17 09:06 joonro