expcdf
Exponential cumulative distribution function
Syntax
P = expcdf(X,mu)
[P,PLO,PUP] = expcdf(X,mu,pcov,alpha)
Description
P = expcdf(X,mu)
computes the exponential cdf at each of the values in
X
using the
corresponding mean parameter
mu
.
X
and
mu
can be vectors, matrices, or multidimensional
arrays that all have the same size. A scalar input is expanded to a constant array with the
same dimensions as the other input. The parameters in
mu
must be positive.
The exponential cdf is
The result,
p
, is the probability that a single observation from an exponential distribution will
fall in the interval [0
x
].
[P,PLO,PUP] = expcdf(X,mu,pcov,alpha)
produces confidence bounds for
P
when
the input mean parameter
mu
is an estimate.
pcov
is the variance of the estimated
mu
.
alpha
specifies 100(1 -
alpha
)% confidence bounds. The default value of
alpha
is 0.05.
PLO
and
PUP
are arrays of the same size as
P
containing the lower and upper confidence
bounds. The bounds are based on a normal approximation for the distribution of the log of

This
** preview**
has intentionally

**sections.**

*blurred***to view the full version.**

*Sign up*