mleGOGaU: The MLEs of GOGaU

Description Usage Arguments Value Author(s) References Examples

View source: R/NewDists.r

Description

This function calculates the MLEs of GOGaU distribution.

Usage

1
mleGOGaU(x, par0 = c(1 , 1, min(x)-1, max(x)+1), a = NA, b = NA, fitplot = TRUE)

Arguments

x

The value of the first shape parameter. Must be finite.

par0

Initial values for the parameters to be optimized over.

a, b

Values for fixed lower or upper limits of the GOGaU distribution. If a/b is equal to NA, it is estimated as the unknown parameter.

fitplot

logical; if TRUE, histogram and fitted GOGaU density is drawn.

Value

par

The MLEs of parameters.

loglike

The log-likelihood value corresponding to MLEs.

convergence

An integer code. 0 indicates successful completion. To see possible error codes, see the optim function.

W

The statistic Cram<c3><a9>r-von Misses.

A

The statistic Anderson Darling.

KS

Kolmogorov Smirnov test.

AIC

The value of Akaike Information Criterion.

BIC

The value of Bayesian Information Criterion.

Author(s)

Bistoon Hosseini, Mahmoud Afshari

References

Bistoon Hosseini, Mahmoud Afshari, and Morad Alizadeh. "The Generalized Odd Gamma-G Family of Distributions: Properties and Applications." Austrian Journal of Statistics 47.2 (2018): 69-89.

Examples

1
2
x = rGOGaU(n = 1000, alpha = 0.5, beta = 1.5, a = 0, b = 4.5)
mleGOGaU(x = x, a = NA, b = 4.5)

bistoonh/NewDists documentation built on May 21, 2019, 11:09 a.m.