SkewNormal {boodist}R Documentation

Skew normal distribution

Description

A R6 class to represent a skew normal distribution.

Details

See Wikipedia.

Active bindings

xi

Get or set the value of xi.

omega

Get or set the value of omega.

alpha

Get or set the value of alpha.

Methods

Public methods


Method new()

New skew normal distribution.

Usage
SkewNormal$new(xi, omega, alpha)
Arguments
xi

location parameter

omega

scale parameter, >0

alpha

shape parameter

Returns

A SkewNormal object.


Method d()

Density function of the skew normal distribution.

Usage
SkewNormal$d(x)
Arguments
x

numeric vector

Returns

The density evaluated at x.


Method p()

Cumulative distribution function of the skew normal distribution.

Usage
SkewNormal$p(q, lower = TRUE)
Arguments
q

numeric vector of quantiles

lower

Boolean, whether to deal with the lower tail

Returns

The cumulative probabilities corresponding to q.


Method q()

Quantile function of the skew normal distribution.

Usage
SkewNormal$q(p, lower = TRUE)
Arguments
p

numeric vector of probabilities

lower

Boolean, whether to deal with the lower tail

Returns

The quantiles corresponding to p.


Method r()

Sampling from the skew normal distribution.

Usage
SkewNormal$r(n)
Arguments
n

number of simulations

Returns

A numeric vector of length n.


Method mean()

Mean of the skew normal distribution.

Usage
SkewNormal$mean()
Returns

The mean of the skew normal distribution.


Method mode()

Mode of the skew normal distribution.

Usage
SkewNormal$mode()
Returns

The mode of the skew normal distribution.


Method sd()

Standard deviation of the skew normal distribution.

Usage
SkewNormal$sd()
Returns

The standard deviation of the skew normal distribution.


Method variance()

Variance of the skew normal distribution.

Usage
SkewNormal$variance()
Returns

The variance of the skew normal distribution.


Method skewness()

Skewness of the skew normal distribution.

Usage
SkewNormal$skewness()
Returns

The skewness of the skew normal distribution.


Method kurtosis()

Kurtosis of the skew normal distribution.

Usage
SkewNormal$kurtosis()
Returns

The kurtosis of the skew normal distribution.


Method kurtosisExcess()

Kurtosis excess of the skew normal distribution.

Usage
SkewNormal$kurtosisExcess()
Returns

The kurtosis excess of the skew normal distribution.


Method clone()

The objects of this class are cloneable with this method.

Usage
SkewNormal$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


[Package boodist version 1.0.0 Index]