@@ -2340,7 +2340,7 @@ def logcdf(value, alpha, inv_beta):
2340
2340
2341
2341
Parameters
2342
2342
----------
2343
- value : tensor_like
2343
+ value : tensor_like of float
2344
2344
Value(s) for which log CDF is calculated. If the log CDF for
2345
2345
multiple values are desired the values must be provided in a numpy
2346
2346
array or `TensorVariable`.
@@ -2372,6 +2372,7 @@ class InverseGamma(PositiveContinuous):
2372
2372
\exp\left(\frac{-\beta}{x}\right)
2373
2373
2374
2374
.. plot::
2375
+ :context: close-figs
2375
2376
2376
2377
import matplotlib.pyplot as plt
2377
2378
import numpy as np
@@ -2398,13 +2399,13 @@ class InverseGamma(PositiveContinuous):
2398
2399
2399
2400
Parameters
2400
2401
----------
2401
- alpha: float
2402
+ alpha : tensor_like of float, optional
2402
2403
Shape parameter (alpha > 0).
2403
- beta: float
2404
+ beta : tensor_like of float, optional
2404
2405
Scale parameter (beta > 0).
2405
- mu: float
2406
+ mu : tensor_like of float, optional
2406
2407
Alternative shape parameter (mu > 0).
2407
- sigma: float
2408
+ sigma : tensor_like of float, optional
2408
2409
Alternative scale parameter (sigma > 0).
2409
2410
"""
2410
2411
rv_op = invgamma
@@ -2460,14 +2461,19 @@ def _distr_parameters_for_repr(self):
2460
2461
2461
2462
def logcdf (value , alpha , beta ):
2462
2463
"""
2463
- Compute the log of the cumulative distribution function for Inverse Gamma distribution
2464
- at the specified value.
2464
+ Compute the log of the cumulative distribution function for Inverse Gamma
2465
+ distribution at the specified value.
2465
2466
2466
2467
Parameters
2467
2468
----------
2468
- value: numeric or np.ndarray or aesara.tensor
2469
+ value : tensor_like of float
2469
2470
Value(s) for which log CDF is calculated. If the log CDF for multiple
2470
- values are desired the values must be provided in a numpy array or Aesara tensor.
2471
+ values are desired the values must be provided in a numpy array or Aesara
2472
+ tensor.
2473
+ alpha : tensor_like of float
2474
+ Shape parameter (alpha > 0).
2475
+ beta : tensor_like of float
2476
+ Scale parameter (beta > 0).
2471
2477
2472
2478
Returns
2473
2479
-------
0 commit comments