Vous êtes un professionnel et vous avez besoin d'une formation ?
Machine Learning
avec Scikit-Learn
Voir le programme détaillé
Module « scipy.special »
Signature de la fonction pdtrc
def pdtrc(*args, **kwargs)
Description
help(scipy.special.pdtrc)
pdtrc(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature])
pdtrc(k, m, out=None)
Poisson survival function
Returns the sum of the terms from k+1 to infinity of the Poisson
distribution: sum(exp(-m) * m**j / j!, j=k+1..inf) = gammainc(
k+1, m). Arguments must both be non-negative doubles.
Parameters
----------
k : array_like
Number of occurrences (nonnegative, real)
m : array_like
Shape parameter (nonnegative, real)
out : ndarray, optional
Optional output array for the function results
Returns
-------
scalar or ndarray
Values of the Poisson survival function
See Also
--------
pdtr : Poisson cumulative distribution function
pdtrik : inverse of `pdtr` with respect to `k`
pdtri : inverse of `pdtr` with respect to `m`
Examples
--------
>>> import numpy as np
>>> import scipy.special as sc
It is a survival function, so it decreases to 0
monotonically as `k` goes to infinity.
>>> k = np.array([1, 10, 100, np.inf])
>>> sc.pdtrc(k, 1)
array([2.64241118e-001, 1.00477664e-008, 3.94147589e-161, 0.00000000e+000])
It can be expressed in terms of the lower incomplete gamma
function `gammainc`.
>>> sc.gammainc(k + 1, 1)
array([2.64241118e-001, 1.00477664e-008, 3.94147589e-161, 0.00000000e+000])
Vous êtes un professionnel et vous avez besoin d'une formation ?
Mise en oeuvre d'IHM
avec Qt et PySide6
Voir le programme détaillé
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :