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
{{ message }}
Repository navigation
BUG/ENH: Kendall’s tau of FrankCopula wrong for small theta #8657
I don't know (or remember) where the epsilon comes from, most likely copied from somewhere.
It looks appropriate if the integrated values are in the range of 1.0
We never checked cases that go close to a boundary of the parameter space, AFAIR
Putting the alpha inside the integrand might help for small alpha
changed the title [-]Kendall’s tau of FrankCopula wrong for small theta[/-][+]BUG/ENH: Kendall’s tau of FrankCopula wrong for small theta[/+]on Feb 9, 2023
Activity
josef-pkt commentedon Feb 7, 2023
I don't know (or remember) where the epsilon comes from, most likely copied from somewhere.
It looks appropriate if the integrated values are in the range of 1.0
We never checked cases that go close to a boundary of the parameter space, AFAIR
Putting the alpha inside the integrand might help for small alpha
It looks like that goes to 1
integral_0^0.000001 t/(e^t - 1) / 0.000001 dt
-> 1
https://www.wolframalpha.com/input?i=integral_0%5E0.000001+++t%2F%28e%5Et+-+1%29+%2F+0.000001+dt+
josef-pkt commentedon Feb 7, 2023
graph using debye in the form the special function
plot shows it increases to 1 as alpha -> 0
https://www.wolframalpha.com/input?i=%28-1%2F2x%5E2%2Bln%281-e%5Ex%29x%2BLi_2%28e%5Ex%29-zeta%282%29%29+%2F+x
assuming I copy pasted correctly
josef-pkt commentedon Feb 9, 2023
I got the Taylor series expansion around 0 for both Debye and tau.
I still need to make a clean function, but should be able to fix this soon.
[-]Kendall’s tau of FrankCopula wrong for small theta[/-][+]BUG/ENH: Kendall’s tau of FrankCopula wrong for small theta[/+]BUG/ENH: correct tau for small theta in FrankCopula closes statsmodel…
josef-pkt commentedon Feb 9, 2023
fix is in #8662
BUG/ENH: correct tau for small theta in FrankCopula closes statsmodel…