| Statistics Toolbox | ![]() |
Parameter estimates and confidence intervals for exponential data
Syntax
Description
returns the estimate of the parameter, µ, of the exponential distribution given data muhat = expfit(x)
x.
also returns[muhat,muci] = expfit(x)
the 95% confidence interval in muci.
gives [muhat,muci] = expfit(x,alpha)
100(1-alpha)% confidence intervals. For example, alpha = 0.01 yields 99% confidence intervals.
Example
We generate 100 independent samples of exponential data with µ = 3. muhat is an estimate of true_mu and muci is a 99% confidence interval around muhat. Notice that muci contains true_mu.
See Also
expcdf, expinv, exppdf, exprnd, expstat, betafit, binofit, gamfit, normfit, poissfit, unifit, weibfit
| expcdf | expinv | ![]() |