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

Add support for inverse function #53

Open
dominikue opened this issue Jan 8, 2024 · 1 comment
Open

Add support for inverse function #53

dominikue opened this issue Jan 8, 2024 · 1 comment

Comments

@dominikue
Copy link

Hi, for our project we adjusted the code to use an inverse function. I think this could be helpful for some others. Please let me know if you want a reproducible example or a pull request :)

Adjust line 111 in questplus/psychometric_function.py:

- return p
+ return (1 + lower_asymptote - lapse_rate) - p

Example plot:
output

@hoechenberger
Copy link
Owner

Very nice! If you would like to make a pull request, please do go ahead :) Be sure to include some tests too, if possible :)

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