Learn R Programming

rms (version 6.0-0)

distSym: distSym

Description

Distribution Symmetry Measure

Usage

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

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.

Value

a scalar with a value of 1.0 indicating symmetry

Details

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.