cupynumeric.random.noncentral_f#
- cupynumeric.random.noncentral_f(dfnum, dfden, nonc, size=None)#
Draw samples from the noncentral F distribution.
Samples are drawn from an F distribution with specified parameters, dfnum (degrees of freedom in numerator) and dfden (degrees of freedom in denominator), where both parameters > 1. nonc is the non-centrality parameter.
- Parameters:
dfnum (float) – Numerator degrees of freedom, must be > 0.
dfden (float) – Denominator degrees of freedom, must be > 0.
nonc (float) – Non-centrality parameter, the sum of the squares of the numerator means, must be >= 0.
size (int or tuple of ints, optional) – Output shape. If the given shape is, e.g.,
(m, n, k)
, thenm * n * k
samples are drawn. If size isNone
(default), a single value is returned.
- Returns:
out – Drawn samples from the parameterized noncentral Fisher distribution.
- Return type:
ndarray or scalar
See also
- Availability:
Multiple GPUs, Multiple CPUs