skew {semTools}R Documentation

Finding skewness

Description

Finding skewness (g1g_{1}) of an object

Usage

skew(object, population = FALSE)

Arguments

object

A vector used to find a skewness

population

TRUE to compute the parameter formula. FALSE to compute the sample statistic formula.

Details

The skewness computed by default is g1g_{1}, the third standardized moment of the empirical distribution of object. The population parameter skewness γ1\gamma_{1} formula is

γ1=μ3μ23/2,\gamma_{1} = \frac{\mu_{3}}{\mu^{3/2}_{2}},

where μi\mu_{i} denotes the ii order central moment.

The skewness formula for sample statistic g1g_{1} is

g1=k3k22,g_{1} = \frac{k_{3}}{k^{2}_{2}},

where kik_{i} are the ii order k-statistic.

The standard error of the skewness is

Var(g^1)=6NVar(\hat{g}_1) = \frac{6}{N}

where NN is the sample size.

Value

A value of a skewness with a test statistic if the population is specified as FALSE

Author(s)

Sunthud Pornprasertmanit (psunthud@gmail.com)

References

Weisstein, Eric W. (n.d.). Skewness. Retrived from MathWorld–A Wolfram Web Resource: http://mathworld.wolfram.com/Skewness.html

See Also

Examples


skew(1:5)


[Package semTools version 0.5-6 Index]