Learn R Programming

GLmom (version 1.3.1)

sel.para_all: Select best parameters based on goodness-of-fit

Description

Internal function that selects the best parameter estimate from multiple candidates using energy distance-based goodness-of-fit across multiple return periods.

Usage

sel.para_all(xdat, para.sel = NULL, model = NULL, obj.fun = NULL)

Value

A list containing:

para

Best parameter vector

min.itry

Index of the best candidate

gof

Goodness-of-fit values for all candidates

obj.fun

Input objective function values

Arguments

xdat

Numeric vector of data.

para.sel

Matrix of candidate parameter sets (ntry x npar).

model

Model type: "gev11", "gev10", or "gev20".

obj.fun

Numeric vector of objective function values (tie-breaker).