Calculates the sigma scaling of the chain, and optionally plots the result.
Usage
calc_sigma_scaling(chain, plot = FALSE)
Value
A list containing the vector of possible lags, the sd of the distances at each lag, their log10 counterparts, and the calculated intercept and slope.
Arguments
chain
Vector of n length, where n is the number of trials or sampler iterations
plot
Boolean. Whether to additionally plot the result.
Details
Sigma scaling is defined as the slope of the regression connecting log time lags and the standard deviation of value changes across time lags. Markets show values of 0.5.