Learn R Programming

inTextSummaryTable (version 3.3.2)

geomSE: 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)

Value

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

Arguments

x

Numeric vector.

na.rm

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

Author

Laure Cougnaud

See Also

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

Examples

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

Run the code above in your browser using DataLab