I am looking for an r code to run a GARCH model with a day of week effect. Is there any package or code I can use for this?

  • 1
    $\begingroup$ Use rugarch package in R. Relevant functions are ugarchspec with the option external.regressors (you supply day-of-the-week dummies there) and ugarchfit. You may find some examples in the packages vignette or on the author's website. Not necessarily an example with dummies specifically but perhaps with some other kind of external regressors. $\endgroup$ Sep 17 at 6:15
  • $\begingroup$ Thank you @RichardHardy I will look into that $\endgroup$
    – forb
    Sep 18 at 13:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.