kurtosis: Indices of kurtosis

Description Usage Arguments Value Author(s) References Examples

View source: R/kurtosis.R

Description

This function computes the theoretical and empirical values of three indices of kurtosis.

Usage

1
kurtosis(x = NULL, p, value = c("estimate", "parameter"))

Arguments

x

A sample of observations.

p

the shape parameter.

value

If is set to estimate, evaluate the indices using an estimate of p. Otherwise, if is set to parameter it uses the value specified in p.

Value

It returns the vector of the three indices of kurtosis VI, Beta2 and Betap. Giving a vector as argument, it returns the estimates of the three indices, computed on the sample. On the other hand, giving the value of the shape parameter p, it returns the theoretical indices.

Author(s)

Angelo M. Mineo

References

Mineo, A.M. (1996) La migliore combinazione delle osservazioni: curve normali di ordine p e stimatori di norma Lp. PhD thesis.

Examples

1
2
3
kurtosis(p=2)
x<-rnormp(50,mu=0,sigmap=2,p=1.5)
kurtosis(x,p=2)

normalp documentation built on Feb. 14, 2020, 5:08 p.m.