kurtosis {normalp} | R Documentation |
This function computes the theoretical and empirical values of three indices of kurtosis.
kurtosis(x = NULL, p, value = c("estimate", "parameter"))
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 . |
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.
Angelo M. Mineo
Mineo, A.M. (1996) La migliore combinazione delle osservazioni: curve normali di ordine p e stimatori di norma Lp. PhD thesis.
kurtosis(p=2) x<-rnormp(50,mu=0,sigmap=2,p=1.5) kurtosis(x,p=2)