0

I am trying to run a multivariate garch model in R. I have my own csv file which contains returns of stock, bond, hold along with the dates (2018-01-01 to 2022-12-30). But the problem is I am not able to upload my csv in a time series format like how we use to get inbuilt yahoo finance get symbols data in R. I need to upload my csv like the below and convert it to time series like the below image so that BEKK model estimates and graph will be automatically easy to estimate and evaluate.

enter image description here

I tried USING XTS object but certainly i am not able to get the data right as the above image

James Z
  • 12,209
  • 10
  • 24
  • 44
Abishek S
  • 1
  • 2

0 Answers0