I tried to find it with MLE method by R Program. The syntax as follows:

llomax=function(alpha,theta){

n=length(dataklaim)

x=dataklaim

-n*log(alpha)-alpha*n*log(theta)+(alpha+1)*sum(log(x+theta))}#-loglikelihood

library(stats4)

estlomax=mle(minuslog=llomax,start=list(alpha=80.805,theta=5.70E+07))

summary(estlomax)

Actually, I would like to find alpha parameter and theta parameter. But the sntax need initial value, which I enter the values alpha=80.805,theta=5.70E+07 who I get them from Easy Fit. Are there procedures to find these parameters in R programming?

But, if there is a procedure by MATLAB, I will accept it also. I attach the file to understand my question bettter.

More Muhammad Azka's questions See All
Similar questions and discussions