numEff: Compute Numerical Standard Error and Relative Numerical Efficiency
Description
numEff computes the numerical standard error for the mean of a vector of draws as well as the relative numerical efficiency (ratio of variance of mean of this time series process relative to iid sequence).
Usage
numEff(x, m = as.integer(min(length(x),(100/sqrt(5000))*sqrt(length(x)))))
Value
A list containing:
stderr
standard error of the mean of \(x\)
f
variance ratio (relative numerical efficiency)
Arguments
x
\(R x 1\) vector of draws
m
number of lags for autocorrelations
Warning
This routine is a utility routine that does not check the input arguments for proper dimensions and type.