本文簡要介紹 python 語言中 scipy.special.fdtridfd
的用法。
用法:
scipy.special.fdtridfd(dfn, p, x, out=None) = <ufunc 'fdtridfd'>#
fdtr
與 dfd 的逆查找 F 密度參數 dfd 使得
fdtr(dfn, dfd, x) == p
。- dfn: array_like
第一個參數(正浮點數)。
- p: array_like
累積概率,在 [0, 1] 中。
- x: array_like
參數(非負浮點數)。
- out: ndarray,可選
函數值的可選輸出數組
- dfd: 標量或 ndarray
dfd這樣
fdtr(dfn, dfd, x) == p
.
參數 ::
返回 ::
例子:
計算一個參數集的 F 分布累積分布函數。
>>> from scipy.special import fdtridfd, fdtr >>> dfn, dfd, x = 10, 5, 2 >>> cdf_value = fdtr(dfn, dfd, x) >>> cdf_value 0.7700248806501017
驗證
fdtridfd
恢複原始值dfd:>>> fdtridfd(dfn, cdf_value, x) 5.0
相關用法
- Python SciPy special.fdtri用法及代碼示例
- Python SciPy special.fdtrc用法及代碼示例
- Python SciPy special.fdtr用法及代碼示例
- Python SciPy special.factorial用法及代碼示例
- Python SciPy special.fresnel用法及代碼示例
- Python SciPy special.factorial2用法及代碼示例
- Python SciPy special.factorialk用法及代碼示例
- Python SciPy special.exp1用法及代碼示例
- Python SciPy special.expn用法及代碼示例
- Python SciPy special.ncfdtri用法及代碼示例
- Python SciPy special.gamma用法及代碼示例
- Python SciPy special.y1用法及代碼示例
- Python SciPy special.y0用法及代碼示例
- Python SciPy special.ellip_harm_2用法及代碼示例
- Python SciPy special.i1e用法及代碼示例
- Python SciPy special.smirnovi用法及代碼示例
- Python SciPy special.ker用法及代碼示例
- Python SciPy special.ynp_zeros用法及代碼示例
- Python SciPy special.k0e用法及代碼示例
- Python SciPy special.j1用法及代碼示例
- Python SciPy special.logsumexp用法及代碼示例
- Python SciPy special.expit用法及代碼示例
- Python SciPy special.polygamma用法及代碼示例
- Python SciPy special.nbdtrik用法及代碼示例
- Python SciPy special.nbdtrin用法及代碼示例
注:本文由純淨天空篩選整理自scipy.org大神的英文原創作品 scipy.special.fdtridfd。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。