TimeSeriesPopulationStatisticsAutocovariance Method

Returns the auto-covariance for the given lag.

Definition

Namespace: Meta.Numerics.Statistics
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public UncertainValue Autocovariance(
	int k
)

Parameters

k  Int32
The lag index, which must lie between 0 and n-1.

Return Value

UncertainValue
The best estimate, with uncertainty, of the lag-k auto-covariance of the population.

Remarks

Note that, unlike the sample auto-covariance (Autocovariance), and unlike the true population auto-covariance, the estimated population auto-covariance is not guaranteed to be positive definite when expressed as a matrix Ci,j = c[|i-j|].

See Also