sprt: alternative initial p value in normalized LLR calculation - #882
sprt: alternative initial p value in normalized LLR calculation#88287flowers wants to merge 2 commits into
Conversation
|
Thanks, practically that seems to work for me! or or or |
|
Nice. Unrelated changes to the PR, but can you make these two edits from #881 as well: Line 208 change comment to // https://www.cantate.be/Fishtest/comparing_approximations.pdfAnd move the computation of sigma in line 266 outside the loop. PS: I am wondering if a similar fix should be applied to the LLR calculation on Fishtest. |
|
Still seemingly getting stuck on this: |
|
I am sorry for not reacting. I am at a place where I can't seriously think. I will try to reply later tonight. |
I think I'm coming around to the idea of bailing out with an approximation if we aren't successful; but I'm happy to wait and see what Michel comes up with. |
|
I think it is indeed best to bail out when the standard algorithm fails, and to use an approximation. The approximation |
Fixes #879.
@vdbergh: Are there any good alternatives here? As one possible alternative to this, what are your thoughts on using the MLE of the distribution given the expectation as an initial value for determining the MLE of the distribution for the t-value?