Log likelihood
이전 댓글 표시
Hi!
I was wondering how to compute (which function to use) in Matlab the log likelihood but when the data is not normally distributed. Thanks!
Nuchto
채택된 답변
추가 답변 (2개)
the cyclist
2012년 5월 22일
편집: John Kelly
2015년 2월 26일
0 개 추천
If you have the Statistics Toolbox, you can calculate the (negative) log likelihood for several functional forms.
For example, there is a betalike() function that will calculate the NLL for a beta function.
댓글 수: 3
Nuchto
2012년 5월 23일
the cyclist
2012년 5월 23일
I'm not sure I understand what you mean. When you say you can't "find" them, do you mean they are not in your version of MATLAB? Do you have the Statistics Toolbox?
Or do you mean that you see all those functions, but none of them are for the distribution you are trying to use?
Or do you mean something else?
Nuchto
2012년 5월 24일
Oleg Komarov
2012년 5월 24일
0 개 추천
You can try the following submission: http://www.mathworks.co.uk/matlabcentral/fileexchange/34943-fit-all-valid-parametric-probability-distributions-to-data
It will fit several distributions and should return the NLL (NegLogLik) for each.
카테고리
도움말 센터 및 File Exchange에서 Half-Normal Distribution에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!