calc_stderr_mean: Calculate the standard error of the mean

Description Usage Arguments Value Author(s) See Also Examples

View source: R/calc_stderr_mean.R

Description

Calculate the standard error of the mean

Usage

1

Arguments

trace

the values

Value

the standard error of the mean

Author(s)

The original Java version of the algorithm was from Remco Bouckaert, ported to R and adapted by Richèl J.C. Bilderbeek

See Also

Java code can be found here: https://github.com/beast-dev/beast-mcmc/blob/800817772033c13061f026226e41128d21fd14f3/src/dr/inference/trace/TraceCorrelation.java#L159 # nolint URLs can be long

Examples

1
2
trace <- sin(seq(from = 0.0, to = 2.0 * pi, length.out = 100))
calc_stderr_mean(trace) # 0.4347425

tracerer documentation built on May 30, 2021, 5:06 p.m.