compute_price_relatives_eigen: Get eigenvalue decompositions for each time step

Description Usage Arguments Details Value

View source: R/momentum_prediction.R

Description

Returns a list with two sublists: values and vectors. For i >= 3, the ith values and vectors are the eigenvalue decomposition of the covariance matrix where we treat the first i-1 rows as observations and the columns as variables.

Usage

1
compute_price_relatives_eigen(price_relative_matrix)

Arguments

price_relative_matrix

A matrix of price relatives with at least three rows.

Details

For i=1,2 The values are all one and the vectors form the identity matrix

Value

A list with two sublists, see description for details


benSepanski/pfselect documentation built on May 1, 2020, 1:57 p.m.