fit_mfgarch(data = df, y ="Log_Returns", x ="cpu_index", low.freq ="month", K =6, weighting ="beta.restricted")
[1] "For ensuring numerical stability of the parameter optimization and inversion of the Hessian, it is best to multiply log returns by 100."
[1] "No frequency specified for calculating the variance ratio - default: low.freq = month"
df1 <-read.csv('/Users/shannon423/Documents/QF 604 Econometric/Project/df_Jan.csv')df1$date <-as.Date(df1$date, format ="%Y-%m-%d")df1$month <-as.Date(df1$month, format ="%Y-%m-%d")tail(df1)
fit_mfgarch(data = df1, y ="Log_Returns", x ="cpu_index", low.freq ="month", K =6, weighting ="beta.restricted")
[1] "For ensuring numerical stability of the parameter optimization and inversion of the Hessian, it is best to multiply log returns by 100."
[1] "No frequency specified for calculating the variance ratio - default: low.freq = month"
df2 <-read.csv('/Users/shannon423/Documents/QF 604 Econometric/Project/df_august1.csv')df2$date <-as.Date(df2$date, format ="%Y-%m-%d")df2$month <-as.Date(df2$month, format ="%Y-%m-%d")tail(df2)
fit_mfgarch(data = df2, y ="Log_Returns", x ="cpu_index", low.freq ="month", K =6, weighting ="beta.restricted")
[1] "For ensuring numerical stability of the parameter optimization and inversion of the Hessian, it is best to multiply log returns by 100."
[1] "No frequency specified for calculating the variance ratio - default: low.freq = month"
4. Aug-2013 - Oct-2022 (Reason: 6 months before Apr-2023)
df3 <-read.csv('/Users/shannon423/Documents/QF 604 Econometric/Project/df_oct.csv')df3$date <-as.Date(df3$date, format ="%Y-%m-%d")df3$month <-as.Date(df3$month, format ="%Y-%m-%d")tail(df3)
fit_mfgarch(data = df3, y ="Log_Returns", x ="cpu_index", low.freq ="month", K =6, weighting ="beta.restricted")
[1] "For ensuring numerical stability of the parameter optimization and inversion of the Hessian, it is best to multiply log returns by 100."
[1] "No frequency specified for calculating the variance ratio - default: low.freq = month"
5. Aug-2013 - Apr-2022 (Reason: 1 year before Apr-2023)
df4 <-read.csv('/Users/shannon423/Documents/QF 604 Econometric/Project/df_apr.csv')df4$date <-as.Date(df4$date, format ="%Y-%m-%d")df4$month <-as.Date(df4$month, format ="%Y-%m-%d")tail(df4)
fit_mfgarch(data = df4, y ="Log_Returns", x ="cpu_index", low.freq ="month", K =6, weighting ="beta.restricted")
[1] "For ensuring numerical stability of the parameter optimization and inversion of the Hessian, it is best to multiply log returns by 100."
[1] "No frequency specified for calculating the variance ratio - default: low.freq = month"