Skip to contents

The Bayesian z-score is here defined as the number of standard deviations from the mean estimate to zero.

Usage

zscore(x, na_rm = FALSE)

Arguments

x

A numeric object of MCMC values.

na_rm

A flag specifying whether to remove missing values.

Value

A number.

See also

Other summary: kurtosis(), lower(), pvalue(), pzeros(), skewness(), svalue(), upper(), variance(), xtr_mean(), xtr_median(), xtr_sd(), zeros()

Examples

zscore(as.numeric(0:100))
#> [1] 1.706475