'mle' - can we use this command for maximizing log-likelihood estimation of a vector input, which is normally distributed?
조회 수: 7 (최근 30일)
이전 댓글 표시
I have a vector of particular length, normally (Gaussian) distributed, for which I want to maximize log-likelihood estimation. I have directly given that vector to 'mle' command. But the output I got was not the exact thing I needed. So, how to calculate the log-likelihood estimation? and how to maximise it? It would be a great help if someone could help me in this regard....
답변 (1개)
Mayank Sengar
2022년 8월 30일
You can use mle function to calculate the maximum likelihood estimation. Since the logarithmic function is monotonic, maximizing the likelihood is same as maximizing the log of the likelihood. Therefore, taking logarithm of the result will give you the maximum log likelihood estimation.
댓글 수: 2
Torsten
2022년 9월 7일
편집: Torsten
2022년 9월 7일
You have data from which you assume that they follow a normal distribution with mean mu and standard deviation sigma. Now you want to estimate mu and sigma for your data. For this, you use "mle" and you get the estimated parameters mu and sigma in return. The method to determine them is to maximize the log likelihood function. In order to get the maximum value of this function, you can use "negloglik" on the result obtained from "fitdist". "fitdist" can be used alternatively to "mle" to estimate your distribution parameters.
If you still don't understand the concept, you should consult Wikipedia before asking permanently the same questions.
참고 항목
카테고리
Help Center 및 File Exchange에서 Frequently-used Algorithms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!