Learn R Programming

sn (version 2.1.1)

summary.SUNdistr: Summary of a SUN distribution object

Description

Produce a summary of an object of class "SUNdistr"

Usage

# S4 method for SUNdistr
summary(object, ...)

Value

An S4-object with the following slots:

dp

the parameters of the distrbution, a list

name

the name of the distribution, a character string

compNames

the names of the components, a character vector

HcompNames

the names of the hidden components, a character vector

mean

the mean value, a vector

var.cov

the variance-covariance matrix

gamma1

the marginal indices of asymmetry, a vector

cum3

the third order cumulants, a three-dimensional array

mardia

the Mardia's measures of multivariate asymmetry and skewness, a vector of length two

Arguments

object

an object of class "SUNdistr".

...

optional arguments passed to mom.mtruncnorm for the regulation of its working.qq

Author

Adelchi Azzalini

References

Arellano-Valle, R. B. and Azzalini, A. (2021). Some properties of the unified skew-normal distribution. Statistical Papers, tools:::Rd_expr_doi("https://doi.org/10.1007/s00362-021-01235-2") and arXiv:2011.06316

Azzalini, A. with the collaboration of Capitanio, A. (2014). The Skew-Normal and Related Families. Cambridge University Press, IMS Monographs series.

See Also

makeSUNdistr for building a SUN distribution object

methods mean and vcov for computing the mean vector and the variance matrix of SUNdistr-class objects

Examples

Run this code
Omega <- matrix(c(5, 1, 1, 6), 2, 2)
Delta <- matrix(c(0.30, 0.50, 0.50, 0.85), 2, 2, byrow=TRUE)
Gamma <- matrix(c(1, 0.18, 0.18, 1), 2, 2)
tau <- c(0.4, -0.8)
dp2 <- list(x=c(1, 0), Omega=Omega, Delta=Delta, tau=tau, Gamma=Gamma)
sun2 <-  makeSUNdistr(dp=dp2, name="SUN2", compNames=c("u", "v"))
s <- summary(sun2)

Run the code above in your browser using DataLab