Description Usage Arguments Details Value Author(s) Examples
Returns the statistic and the p-value of either Mardia's kurtosis or Koziol's kurtosis tests for normality .
1 | ScalarKurt(data, feature, type, prob)
|
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 |
For Koziol kurtosis only the upper tail is meaningful
statistic |
|
pvalue |
Cinzia Franceschini and Nicola Loperfido
1 2 3 4 | 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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.