Sample_ACV {WRI}R Documentation

Function for calculating sample autocovariance

Description

Calculating sample autocovariance of a specified lag for a centered time series

Usage

Sample_ACV(ts, lag)

Arguments

ts

A numeric vector consisting of sequentially collected data

lag

A positive integer indicates the lag of the autocovariance function

Value

Sample autocovariance


[Package WRI version 0.2.0 Index]