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 d33db68 commit b6376c6Copy full SHA for b6376c6
tsdate/approx.py
@@ -47,19 +47,6 @@ def approximate_log_moments(mean, variance):
47
return logx, xlogx, logx2
48
49
50
-@numba.njit("UniTuple(float64, 2)(float64, float64)")
51
-def approximate_gamma_mom(mean, variance):
52
- """
53
- Use the method of moments to approximate a distribution with a gamma of the
54
- same mean and variance
55
56
- assert mean > 0
57
- assert variance > 0
58
- alpha = mean**2 / variance
59
- beta = mean / variance
60
- return alpha, beta
61
-
62
63
@numba.njit("UniTuple(float64, 2)(float64, float64)")
64
def approximate_gamma_kl(x, logx):
65
"""
0 commit comments