expcdf - the estimate of mu . If you estimate mu from a set...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
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
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: the estimate of mu . If you estimate mu from a set of data, you can get a more accurate set of bounds by applying expfit to the data to get a confidence interval for mu , and then evaluating expinv at the lower and upper endpoints of that interval. Examples The following code shows that the median of the exponential distribution is *log(2) . mu = 10:10:60; p = expcdf(log(2)*mu,mu) p = 0.5000 0.5000 0.5000 0.5000 0.5000 0.5000 What is the probability that an exponential random variable is less than or equal to the mean, ? mu = 1:6; x = mu; p = expcdf(x,mu) p = 0.6321 0.6321 0.6321 0.6321 0.6321 0.6321 See Also , , , , , , See Also cdf | expfit | expinv | explike | exppdf | exprnd | expstat How To Exponential Distribution Provide feedback about this page evstat expfit 1984-2009 The MathWorks, Inc. Terms of Use Patents Trademarks Acknowledgments...
View Full Document

This note was uploaded on 11/29/2010 for the course ECE 302 taught by Professor Gelfand during the Spring '08 term at Purdue University-West Lafayette.

Page1 / 2

expcdf - the estimate of mu . If you estimate mu from a set...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online