distSym: Distribution Symmetry Measure

Description Usage Arguments Value Author(s)

View source: R/stanMisc.r

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

1
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

Author(s)

Frank Harrell


rmsb documentation built on Feb. 28, 2021, 1:06 a.m.