Main Content

指数分布

拟合和计算指数分布,生成该分布的随机样本

Statistics and Machine Learning Toolbox™ 提供了几种处理指数分布的方法。

  • 可通过对样本数据进行概率分布拟合或通过指定参数值来创建概率分布对象 ExponentialDistribution。然后使用对象函数来计算分布、生成随机数等。

  • 使用分布拟合器以交互方式处理指数分布。您可以从该 App 中导出对象并使用对象函数。

  • 将分布特定的函数与指定的分布参数结合使用。分布特定的函数可以接受多种指数分布的参数。

  • 将一般分布函数(cdficdfpdfrandom)与指定的分布名称 ('Exponential') 和参数结合使用。

要了解指数分布,请参阅Exponential Distribution

对象

ExponentialDistribution指数概率分布对象

App

分布拟合器对数据进行概率分布拟合
概率分布函数Interactive density and distribution plots

函数

全部展开

创建 ExponentialDistribution 对象

makedist创建概率分布对象
fitdist对数据进行概率分布对象拟合

使用 ExponentialDistribution 对象

cdf累积分布函数
gatherGather properties of Statistics and Machine Learning Toolbox object from GPU (自 R2020b 起)
icdf逆累积分布函数
iqrInterquartile range of probability distribution
mean概率分布的均值
medianMedian of probability distribution
negloglikNegative loglikelihood of probability distribution
paramciConfidence intervals for probability distribution parameters
pdf概率密度函数
plotPlot probability distribution object (自 R2022b 起)
proflikProfile likelihood function for probability distribution
random随机数
std概率分布的标准差
truncateTruncate probability distribution object
varVariance of probability distribution
expcdfExponential cumulative distribution function
exppdfExponential probability density function
expinvExponential inverse cumulative distribution function
explikeExponential negative log-likelihood
expstatExponential mean and variance
expfitExponential parameter estimates
exprnd指数随机数
mleMaximum likelihood estimates
distributionFitter打开分布拟合器
histfit具有分布拟合的直方图
plotPlot probability distribution object (自 R2022b 起)
qqplotQuantile-quantile plot
randtoolInteractive random number generation

主题

  • Exponential Distribution

    The exponential distribution is special because of its utility in modeling events that occur randomly over time. The main application area is in studies of lifetimes.