MATLAB Community,
I using the MLE to finding Gumble distribution parameters for the r Largest Order Statistics.
I already have the likelihood function,which is:
L=@(mu,sigma) prod( exp(-exp( - ( data2 (:,size ( data 2,2 ) ) -mu ./ sigma ))) .*prod( sigma^( -1).*exp( -( data2 - mu )./sigma),2))
where data2 is a 40*5 matrix, meaning I picking 1st to 5th largest data in one year for total 40 years.
(if data2 is a 40*1 matrix, L become the Gumble distribution likelihood function.)
The matlab code mle() can only input vector, is there any way to solve this problem?