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 dfd018e commit 7fe5164Copy full SHA for 7fe5164
pymc/distributions/discrete.py
@@ -82,6 +82,7 @@ class Binomial(Discrete):
82
.. math:: f(x \mid n, p) = \binom{n}{x} p^x (1-p)^{n-x}
83
84
.. plot::
85
+ :context: close-figs
86
87
import matplotlib.pyplot as plt
88
import numpy as np
@@ -107,11 +108,11 @@ class Binomial(Discrete):
107
108
109
Parameters
110
----------
- n : int
111
+ n : tensor_like of int
112
Number of Bernoulli trials (n >= 0).
- p : float
113
+ p : tensor_like of float
114
Probability of success in each trial (0 < p < 1).
- logit_p : float
115
+ logit_p : tensor_like of float
116
Alternative log odds for the probability of success.
117
"""
118
rv_op = binomial
0 commit comments