Statistics Toolbox
  Go to function:
    Search    Help Desk 
expcdf    Examples

Exponential cumulative distribution function (cdf).

Syntax

Description

expcdf(X,MU) computes the exponential cdf with parameter settings MU at the values in X. The arguments X and MU must be the same size except that a scalar argument functions as a constant matrix of the same size of the other argument.

The parameter 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].

Examples

The median of the exponential distribution is µ*log(2). Demonstrate this fact.

What is the probability that an exponential random variable will be less than or equal to the mean, µ?



[ Previous | Help Desk | Next ]