I use tvgc to implement the VAR-based time-varying Granger causality tests proposed by Shi, Phillips, and Hurn (2018). In the example provided in STATA help, the data is monthly.
I want to use daily data but I face this error “sample may not contain gaps”.
It's because the financial markets are closed on Saturday and Sunday and therefore the time variable has a 2days gap per week. How can I solve this problem?
I want to use daily data but I face this error “sample may not contain gaps”.
It's because the financial markets are closed on Saturday and Sunday and therefore the time variable has a 2days gap per week. How can I solve this problem?
Comment