Learn R Programming

QuantPsyc (version 1.5)

norm: Skewness and Kurtosis

Description

Computes Skewness and Kurtosis of data.

Usage

norm(x) Skew(x) Kurt(x)

Arguments

x
A data object such as a numeric or column from a data.frame

Value

norm returns a table containing Skew & Kurt. Each contain the following elements:
Statistic
value for Skewness or Kurtosis respectively
SE
Standard error for Skewness or Kurtosis
t-val
t or z ratio - Statistic/SE
p
p value associated with z distribution

Warning

These statistics should be used with caution as they are influenced by sample size!

Examples

Run this code

# create negatively skewed dat with 100 observations
xc <-  -rchisq(100,3)	
norm(xc)

Run the code above in your browser using DataLab