@@ -1560,11 +1560,11 @@ class ZeroInflatedBinomial:
1560
1560
1561
1561
Parameters
1562
1562
----------
1563
- psi: float
1563
+ psi : tensor_like of float
1564
1564
Expected proportion of Binomial variates (0 < psi < 1)
1565
- n: int
1565
+ n : tensor_like of int
1566
1566
Number of Bernoulli trials (n >= 0).
1567
- p: float
1567
+ p : tensor_like of float
1568
1568
Probability of success in each trial (0 < p < 1).
1569
1569
1570
1570
"""
@@ -1650,15 +1650,15 @@ def ZeroInfNegBinom(a, m, psi, x):
1650
1650
1651
1651
Parameters
1652
1652
----------
1653
- psi: float
1653
+ psi : tensor_like of float
1654
1654
Expected proportion of NegativeBinomial variates (0 < psi < 1)
1655
- mu: float
1655
+ mu : tensor_like of float
1656
1656
Poission distribution parameter (mu > 0).
1657
- alpha: float
1657
+ alpha : tensor_like of float
1658
1658
Gamma distribution parameter (alpha > 0).
1659
- p: float
1659
+ p : tensor_like of float
1660
1660
Alternative probability of success in each trial (0 < p < 1).
1661
- n: float
1661
+ n : tensor_like of float
1662
1662
Alternative number of target success trials (n > 0)
1663
1663
"""
1664
1664
@@ -1846,18 +1846,19 @@ class OrderedProbit:
1846
1846
1847
1847
Parameters
1848
1848
----------
1849
- eta: float
1849
+ eta : tensor_like of float
1850
1850
The predictor.
1851
- cutpoints: array
1851
+ cutpoints : tensor_like array of floats
1852
1852
The length K - 1 array of cutpoints which break :math:`\eta` into
1853
1853
ranges. Do not explicitly set the first and last elements of
1854
1854
:math:`c` to negative and positive infinity.
1855
- sigma: float, default 1.0
1855
+ sigma : tensor_like of float, default 1.0
1856
1856
Standard deviation of the probit function.
1857
- compute_p: boolean, default True
1857
+ compute_p : boolean, default True
1858
1858
Whether to compute and store in the trace the inferred probabilities of each categories,
1859
1859
based on the cutpoints' values. Defaults to True.
1860
1860
Might be useful to disable it if memory usage is of interest.
1861
+
1861
1862
Example
1862
1863
--------
1863
1864
.. code:: python
0 commit comments