Hi, very new to R so was wondering if somebody could help me with the coding for my thesis as i've been struggling with this for some time now.
First post on here so forgive me if I miss anything/ not detailed enough etc.
Basically i wish to build a VAR model to analyse the relationship between my 'fear sentiment index' (which is constructed using gtrendsr on search volume for terms 'coronavirus' and 'covid-19') and four of my variables. Those four variables being bitcoin price, volume, vix index and s&p500. From January 14th 2020- August 31st 2021.
This is not an original idea i am following the methodology from this paper https://www.tandfonline.com/doi/full/10.1080/1540496X.2020.1787150?nav=undefined
My issue is that my variables have mixed frequencies such as daily including weekends, daily without weekends and weekly observations.
I have my dataset loaded in and i have the data for the google trends, but how do i go about making it into the var model.
Honestly i am rather clueless and desperate so would appreciate any and all help.
Thanks RStudio Community!