choose.skewunit {skewunit} | R Documentation |
Choose a Distribution in a Family of Skew Distributions with Bounded Support
Description
choose.skewunit select a combination of f
and G
in a Family of Skew Distributions with Bounded Support
based on the Akaike information criteria (AIC) or Bayesian information criteria (BIC).
Usage
choose.skewunit(x, criteria="AIC")
Arguments
x |
data in |
criteria |
criteria to choose a model: AIC (default) or BIC. |
Details
The Family of Skew Distributions with Bounded Support is defined by its density function given by
f(x)=2 G(\lambda(y-0.5)+0.5), \quad x \in (0,1), \lambda \in (-1,1),
where f
is symmetric around 0.5, i.e., f(x-0.5)=f(x+0.5)
.
The avaliable options for family1 and family2 are asin, Uquad, triang, JSB and sbeta.
Value
an object of class "skewunit" is returned. The object returned for this functions is a list containing the following components:
x |
x |
Author(s)
Diego Gallardo, Emilio Gomez-Deniz, Osvaldo Venegas and Hector W. Gomez
Examples
set.seed(2100)
x=rskewunit(100, lambda=-0.5, delta=1.2, family1="asin", family2="triang")
aux=choose.skewunit(x, criteria="AIC")
aux
aux$summary