MLEZ | R Documentation |
This function fits parameters of probability distribution functions (see selecDIST
)
by means of maximum likelihood and performs evolutionary global optimization via the
Differential Evolution algorithm (see DEoptim package).
MLEZ(Intensity, type, para.int = NULL, silent = TRUE, null.on.not.converge = TRUE, pretransf = function(t) return(t))
Intensity |
a numeric vector with intensity [mm/h] values of different years for a specific time duration (e.g. 5, 15, 120 minutes, etc.). |
type |
a character specifying the name of the distribution function that will
be employed: exponencial, gamma, gev, gumbel, log.normal3, normal, pearson, log.pearson3 and
wakeby (see |
para.int |
Initial parameters as a vector Θ. |
silent |
a logical to silence the |
null.on.not.converge |
a logical to trigger simple return of NULL if the |
pretransf |
An optional parameter retransformation function (see Examples) that is useful to
guide the optimization run. For example, suppose the first parameter of
a three parameter distribution resides in the positive domain,
then |
A list of:
Parameters
a list with type of distribution fitted and values of its parameters
data(inten) TEST.MLE <- MLEZ(Intensity = inten[,4], type = "Gumbel", para.int = NULL, silent = TRUE, null.on.not.converge = TRUE, pretransf = function(t) return(t)) ## Results: xi = 71.178 ; alpha = 15.204
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.