ScalarKurt {Kurt}R Documentation

ScalarKurt

Description

Returns the statistic and the p-value of either Mardia's kurtosis or Koziol's kurtosis tests for normality .

Usage

ScalarKurt(data, feature, type, prob)

Arguments

data

data matrix

feature

"moment" or "cumulant"

type

"Mardia" or "Koziol"

prob

"lower" if probability is P[X <= x], "upper" if probability is P[X > x], "twoside" if probability is computed on both tails

Details

For Koziol kurtosis only the upper tail is meaningful

Value

statistic
pvalue

Author(s)

Cinzia Franceschini and Nicola Loperfido

Examples

data(iris)
iris<-data.matrix(iris)#returns the matrix obtained by converting the data frame to numeric mode
ScalarKurt(iris[,1:4],"moment","Mardia","upper")#returns the statistic and the p-value
#of Mardia's kurtosis test for normality 

[Package Kurt version 1.1 Index]