geomSE: Compute geometric standard error of the mean.

View source: R/stats-utility.R

geomSER Documentation

Compute geometric standard error of the mean.

Description

The geometric standard error of the mean is computed as: \exp(se(log(x), with:

  • log: natural logarithm

  • se: standard error of the mean, as computed with se

Usage

geomSE(x, na.rm = FALSE)

Arguments

x

Numeric vector.

na.rm

Logical, should NA value(s) be removed (FALSE by default)?

Value

Numeric vector of length 1 with geometric standard error of the mean.

Author(s)

Laure Cougnaud

See Also

Other stats utility functions: cv(), geomCV(), geomMean(), geomSD(), se()

Examples

# Geometric standard error of the mean of a sample from a log normal distribution:
geomSE(rlnorm(n = 1000, meanlog = 0, sdlog = 1))

inTextSummaryTable documentation built on Sept. 12, 2023, 5:06 p.m.