Fitting a truncated normal (Gaussian) distribution

버전 1.2.0.0 (2.2 KB) 작성자: Alex Ryabov
How to fit a truncated distribution
다운로드 수: 664
업데이트 날짜: 2018/2/8

라이선스 보기

Matlab does not allow to say that a distribution which we fit to a dataset is truncated.
In case of a Gaussian distribution, Matlab just calculates the mean and sigma and uses them as the paramters of a pdf, but this does not work if the distribution is cutted from one side, e.g. when you don't have measurements less than some detection limit. Then fitted distribution will be shifted.
Here I give an small example how to perform fitting in this case.

인용 양식

Alex Ryabov (2024). Fitting a truncated normal (Gaussian) distribution (https://www.mathworks.com/matlabcentral/fileexchange/64040-fitting-a-truncated-normal-gaussian-distribution), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2017a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.2.0.0

Now the function can fit distributions truncated either on the left or on the right or both sides
updated the figure

1.1.0.0

I converted script to a function
Script was converted to a function

1.0.0.0

--