You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there may be an error in the lhp parameter calculation in params. In Johnson and Sugden 2014, when Term A and Term B are both negative, the LHP should be set to 0. However in the current code:
if term_a < 0:
term_a = 0
and further,
if term_b < 0:
term_b = 0
I think it should be:
if term_a and term_b < 0:
LHP = 0
Otherwise, setting either Term A or B to 0 separately will consistently result in a value of 5, since we are multiplying by a negative number and then adding 5.
Hope that makes sense! And thanks for creating such a great program!
Best wishes,
Kellie.
The text was updated successfully, but these errors were encountered:
Hello,
I think there may be an error in the lhp parameter calculation in params. In Johnson and Sugden 2014, when Term A and Term B are both negative, the LHP should be set to 0. However in the current code:
and further,
I think it should be:
Otherwise, setting either Term A or B to 0 separately will consistently result in a value of 5, since we are multiplying by a negative number and then adding 5.
Hope that makes sense! And thanks for creating such a great program!
Best wishes,
Kellie.
The text was updated successfully, but these errors were encountered: