File Exchange

image thumbnail

exgfit - Fit ExGaussian distribution to data

version 1.0.3 (1.69 KB) by Tobias Johansson
Fits ExGaussian distribution to data using maximum likelihood


Updated 27 Nov 2019

View Version History

View License

[MU,SIGMA,TAU] = exgfit(X,S) fits the ExGaussian distribution to data in
vector X using maximum likelihood and returns the fitted parameters MU,
SIGMA, and TAU. The ExGaussian distribution is formed by the sum of
independent normal and exponential observations. MU and SIGMA denotes
the mean and standard deviation of the normal component and TAU denotes
the mean of the exponential component. S is a three-element vector of
starting values for MU, SIGMA, and TAU when fitting the distribution to
data. SIGMA must be positive and TAU at least zero.

Cite As

Tobias Johansson (2021). exgfit - Fit ExGaussian distribution to data (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!