Statistics and Machine Learning Toolbox™ 提供了几种处理 gamma 分布的方法。
-
可通过对样本数据进行概率分布拟合或通过指定参数值来创建概率分布对象
GammaDistribution
。然后使用对象函数来计算分布、生成随机数等。
-
使用
分布拟合器
以交互方式处理 gamma 分布。您可以从该 App 中导出对象并使用对象函数。
-
将分布特定的函数与指定的分布参数结合使用。分布特定的函数可以接受多种 gamma 分布的参数。
-
将一般分布函数(
cdf
、
icdf
、
pdf
、
random
)与指定的分布名称 (
'Gamma'
) 和参数结合使用。
要了解 gamma 分布,请参阅
Gamma Distribution
。
分布拟合器
|
对数据进行概率分布拟合
|
概率分布函数
|
Interactive density and distribution plots
|
GammaDistribution
对象函数
创建
GammaDistribution
对象
使用
GammaDistribution
对象
cdf
|
累积分布函数
|
gather
|
Gather properties of
Statistics and Machine Learning Toolbox
object from GPU
(自 R2020b 起)
|
icdf
|
逆累积分布函数
|
iqr
|
Interquartile range of probability distribution
|
mean
|
概率分布的均值
|
median
|
Median of probability distribution
|
negloglik
|
Negative loglikelihood of probability distribution
|
paramci
|
Confidence intervals for probability distribution parameters
|
pdf
|
概率密度函数
|
plot
|
Plot probability distribution object
(自 R2022b 起)
|
proflik
|
Profile likelihood function for probability distribution
|
random
|
随机数
|
std
|
Standard deviation of probability distribution
|
truncate
|
Truncate probability distribution object
|
var
|
Variance of probability distribution
|
分布特定的函数
gamcdf
|
Gamma cumulative distribution function
|
gampdf
|
Gamma probability density function
|
gaminv
|
Gamma inverse cumulative distribution function
|
gamlike
|
Gamma negative log-likelihood
|
gamstat
|
Gamma mean and variance
|
gamfit
|
Gamma parameter estimates
|
gamrnd
|
gamma 随机数
|
randg
|
Gamma random numbers with unit scale
|
最大似然估计
mle
|
Maximum likelihood estimates
|
mlecov
|
Asymptotic covariance of maximum likelihood estimators
|
-
Gamma Distribution
The gamma distribution models sums of exponentially distributed random
variables.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
MathWorks
Accelerating the pace of engineering and science
MathWorks
is the leading developer of mathematical computing software for engineers and scientists.
Discover...