Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python implementation of cal_mu, cal_s, and cal_ind_choice_prob #5

Open
cniedotus opened this issue May 29, 2017 · 1 comment
Open

Comments

@cniedotus
Copy link
Contributor

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

@joonro
Copy link
Owner

joonro commented Jun 3, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants