We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf205c5 commit bcc7819Copy full SHA for bcc7819
src/univariate/continuous/loglogistic.jl
@@ -54,7 +54,7 @@ function mean(d::LogLogistic{T}) where T<:Real
54
if d.β ≤ 1
55
ArgumentError("mean is defined only when β > 1")
56
end
57
- return d.α*π/d.β/sin(π/d.β)
+ return d.α/sinc(1/d.β)
58
59
60
function mode(d::LogLogistic{T}) where T<:Real
0 commit comments