par2aic: Aikaike Information Criterion

Description Usage Arguments

Description

Returns the AIC in respect of a distribution and its parameter. More precisely, the criteria is k*p - 2 * L where p is the number of parameter, L is the log-likelihood and k a penalty factor.

Usage

1
par2aic(x, p, type, k = 2)

Arguments

x

Vector of sample data.

p

Vector of parameter.

type

String that determines the distribution. See lmomco.

k

Penalty factor. For AIC, k = 2 and for BIC, k = log(n)


martindurocher/floodRFA documentation built on June 5, 2019, 8:44 p.m.