Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
I have developed a simulation for GEV distribution by using log likelihood estimate. However, there are some errors on that coding.
From that code, I expect every parameter (location, scale, and shape) should be come out in matrices not an integer.
Hope someone can help me.Thank you.
I kind of got lost in what you're trying to do, but it's clear that you need to pay better attention to arrays and subscripts:
I started making changes. See if that start inspires you.
Thank you for the notes of arrays and subscripts info.
Actually, I am doing for simulation by using Monte Carlo simulation for GEV distribution by MLE method. This method of simulation uses repeated random sampling to generate simulated data to use with a mathematical model.
I managed to estimate the parameter of GEV distribution by MLE method from the specific data. but, I had problem on estimate parameter by simulated data.
I have tried the idea that you stated. It was good info. But, I still on that problem.
**I am not sure why I can not attach my programming in here.
> **I am not sure why I can not attach my programming in here.
This forum system makes it unnecessarily difficult. You have to chose "Use advanced editor" at the upper right. Then you are offered (at the lower right) the option to attach files.
The other option to attach your file is, after you've created a response, click the 'actions' options at the lower left side and choose 'edit' from the list. Then you will find an 'attach' option at the lower right side.
Thank you for all helpers.
Here are my attachments for my previous comment.
Below is my attempt to fix your problem. There are imaginary or complex values. The final function is actually a vector, since its values also depend on the index j. How to maximize?
Thank you for the idea, F.M.. in Mathcad we used 'Maximize' to maximize it and there is an error on that.
I am not sure if there have other way to maximize this loglikelihood function.