Negative log likelihood for the unifrom distribution
조회 수: 4 (최근 30일)
이전 댓글 표시
I want to calcaulte the negative log likelihood using "negloglik" function. But, the MATLAB gives an error message, Undefined function 'negloglik' for input arguments of type 'prob.UniformDistribution'.
How can calculate the negative log likelihood value for uniform distributions in MATLAB?
(My code)
pd=makedist('uniform','lower',100,'upper',200);
NLL=negloglik(pd)
- Undefined function 'negloglik' for input arguments of type 'prob.UniformDistribution'.*
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Probability Density Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!