Main Content

指数分布

指数概率分配对象

Description

一个指数分布object consists of parameters, a model description, and sample data for an exponential probability distribution.

指数分布用于建模随着时间的流逝随机发生的事件,其主要应用领域是对生命的研究。这是带有形状参数的伽马分布的特殊情况一种= 1。

指数分布使用以下参数。

范围 Description 金宝app
mu Mean μ > 0

创建

有几种创建一个方法指数分布概率分配对象。

  • Create a distribution with specified parameter values using制造者

  • Fit a distribution to data using菲迪斯特

  • Interactively fit a distribution to data using the分销钳工应用程序。

特性

展开全部

Distribution Parameter

指数分布的平均值,指定为正标量值。

数据类型:单身的|双倍的

分布特征

This property is read-only.

截断分布的逻辑标志,,,,specified as a logical value. If发出equals0,,,,the distribution is not truncated. If发出equals1,分布被截断。

数据类型:逻辑

This property is read-only.

概率分布的参数数量,指定为正整数值。

数据类型:双倍的

This property is read-only.

参数估计的协方差矩阵,指定为p-by-pmatrix, wherep是分布中的参数数。这 (一世,,,,j)element is the covariance between the estimates of the一世参数和j参数。这 (一世,,,,一世)element is the estimated variance of the一世参数。如果p一种rameter一世是固定而不是通过将分布拟合到数据而估计的,然后一世,,,,一世)协方差矩阵的元素为0。

数据类型:双倍的

This property is read-only.

固定参数的逻辑标志,,,,specified as an array of logical values. If0,,,,the corresponding parameter in the范围Names数组未固定。如果1,,,,the corresponding parameter in the范围Names数组已固定。

数据类型:逻辑

This property is read-only.

Distribution parameter values, specified as a vector of scalar values.

数据类型:单身的|双倍的

This property is read-only.

截断间隔for the probability distribution, specified as a vector of scalar values containing the lower and upper truncation boundaries.

数据类型:单身的|双倍的

其他对象属性

This property is read-only.

概率分布的名字,规范一世fied as a character vector.

数据类型:char

This property is read-only.

用于分配拟合的数据,,,,specified as a structure containing the following:

  • data: Data vector used for distribution fitting.

  • cens:检查向量,或者如果没有,则空。

  • 弗雷克:频率向量,如果没有,则为空。

数据类型:结构

This property is read-only.

分布参数描述,指定为字符矢量的单元格数组。每个单元格包含一个分布参数的简短描述。

数据类型:char

This property is read-only.

分布参数名称,指定为字符向量的单元格数组。

数据类型:char

对象功能

CDF 累积分布函数
收集 收集的属性Statistics and Machine Learning Toolbox来自GPU的对象
ICDF Inverse cumulative distribution function
IQR Interquartile range of probability distribution
mean Mean of probability distribution
中位数 概率分布中位数
nenloglik 概率分布的负loglikeliones
paramci 概率分布参数的置信区间
PDF 概率密度函数
Proflik Profile likelihood function for probability distribution
随机的 随机数
标准 Standard deviation of probability distribution
截短 截断概率分配对象
var Variance of probability distribution

例子

全部收缩

使用默认参数值创建指数分布对象。

PD = Makedist(“指数”
pd = ExponentialDistribution Exponential distribution mu = 1

通过指定参数值来创建指数分布对象。

PD = Makedist(“指数”,,,,'mu',,,,2)
pd = ExponentialDistribution Exponential distribution mu = 2

Compute the variance of the distribution.

v = var(pd)
v = 4

扩展功能

版本历史记录

Introduced in R2013a