Skew: Estimate Skewness

Description Usage Arguments Value Examples

Description

Estimates the skewness of a distribution using a vector of observations.

Usage

1
Skew(y, s0 = 0, sig = 0.05, simple = F)

Arguments

y

Observations.

s0

Reference skewness.

sig

Significance level.

simple

If TRUE, returns estimated size and SE only.

Value

Matrix containing the estimated skewness, its standard error, the lower and upper confidence bounds, and a p value assessing the null hypothesis that the skewness is s0.

Examples

1
2
3
4
5
6
7
## Not run: 
# Exponential sample
y = rexp(n=1e3);
# Test skewness = 2
Skew(y=y,s0=2);

## End(Not run)

zrmacc/SimTools documentation built on May 9, 2019, 8:08 a.m.