Computes Gamma (Auto Covariance of a time series realization)

calculate_ts_gamma(x, k = 0)

Arguments

x

time series realization

k

lag for which ACV needs to be calculated (Default = 0 -> Variance of the Time Series)

Value

Auto Covaraince at lag k