why MLE needs iteration to approximate the parameters?

Hi Matlab fans,
I try to use mle function in Matlab to get the estimation of parameters.
I notice that in the syntax of mle , it requires to input the start-up guessing of parameters for the custom CDF.
Why? I remember in statistics class, my teacher said, to get the estimation from MLE, only partial derivatives of L function on each parameter is needed. If I substitute variables with corresponding sample value, I can obtain the values of parameters.
Can it be realized by Matlab?
Sincerely, Joy

2 commentaires

The partial derivatives of the L function with respect to the unknown parameters are set to zero.
Then the resulting system of equations
dL/dp1 = 0
dL/dp2 = 0
...
dL/dp_n = 0
is solved for p_1,p_2,...,p_n.
This is usually a Newton-iteration which converges the better, the better the starting values.
Best wishes
Torsten.
What you said fully expressed my idea, Torsten.
Thank you for your supplement :)
Best regards,
Joy

Connectez-vous pour commenter.

 Réponse acceptée

Matt J
Matt J le 24 Juil 2015
Modifié(e) : Matt J le 24 Juil 2015

0 votes

only partial derivatives of L function on each parameter is needed.
That's true if the MLE has an analytical solution, which would often be the case in introductory MLE examples in a statistics course. More generally, though, a closed-form solution is not available and the maximizing parameters have to be found through iterative optimization.

1 commentaire

Perfect, Matt!
Thanks for further guidance. That is sooo helpful.
Best wishes,
Joy

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by