Learn R Programming

rmsb (version 1.1-1)

distSym: Distribution Symmetry Measure

Description

From a sample from a distribution computes a symmetry measure. By default it is the gap between the mean and the 0.95 quantile divided by the gap between the 0.05 quantile and the mean.

Usage

distSym(x, prob = 0.9, na.rm = FALSE)

Value

a scalar with a value of 1.0 indicating symmetry

Arguments

x

a numeric vector representing a sample from a continuous distribution

prob

quantile interval coverage

na.rm

set to TRUE to remove NAs before proceeding.

Author

Frank Harrell