0

I was using the rugarch package to fit an ARMA-GARCH model with multiple external regressors. But there is an error message that says:

Error in svd(na.omit(xreg)) : a dimension is zero 

I'm wondering what is causing this error. Thanks!

enter image description here

divibisan
  • 11,659
  • 11
  • 40
  • 58
kkkznl
  • 1
  • 1
  • Please do not post images of code, it is easier for others to help you if they can copy/paste your code, run it, and reproduce your problem. See [how to write a great R reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) – Jan Boyer Jul 16 '18 at 21:43

1 Answers1

0
  1. testdata_1 should be in matrix format.

  2. There should be no Na's

  3. Check if there's data inside testdata_1[,-c(1:2)]

Stephen Rauch
  • 47,830
  • 31
  • 106
  • 135
MajesticKhan
  • 158
  • 1
  • 11