I am trying to create a stock market model based on fundamental variables for the US economy. I am using R. Some of the variables I am looking to include are: GDP, Unemployment Rate, Initial Claims, etc... Given that some of these indicators have different time frames from weekly to quarterly will I get error messages because of NA values if I try different models?
Below is the output of the df I created showing all the NA values.
Var1 Var2 Var3 Var4
2013-12-08 NA NA 358000 NA
2013-12-15 NA NA 368000 NA
2013-12-22 NA NA 339000 NA
2013-12-29 NA NA 344000 NA
2014-01-01 6.6 144 NA 317602
2014-01-05 NA NA 333000 NA
2014-01-12 NA NA 329000 NA
2014-01-19 NA NA 334000 NA
2014-01-26 NA NA 345000 NA
2014-02-01 6.7 197 NA 317760
2014-02-02 NA NA 328000 NA
2014-02-09 NA NA 343000 NA
2014-02-16 NA NA 330000 NA
2014-02-23 NA NA 351000 NA
2014-03-01 6.7 192 NA 317920
2014-03-02 NA NA 325000 NA
2014-03-09 NA NA 319000 NA
2014-03-16 NA NA 323000 NA
2014-03-23 NA NA 310000 NA
2014-03-30 NA NA 326000 NA
Is there a model that can deal with all the different time frames (daily, weekly, monthly)? Or should I try to consolidate the time frames into the highest order (i.e. monthly)?
Any insight or assistance would be greatly appreciated.
- This is my first question on this exchange.