apaCovars(TimeSeries, IsSampleOtherwisePopulation)
Excel
=apaCovars(TimeSeries, IsSampleOtherwisePopulation)Result
Returns the sample or population covariance matrix of a matrix of time series.
Syntax
TimeSeries: a time series data matrix, each column containing a time series
IsSampleOtherwisePopulation: optional; TRUE for sample covariances (division by n-1), FALSE for population covariances (division by n); default: FALSE
Remarks
The time series matrix is a matrix of returns, in which each column represents a series and each row an observation.
