I would like someone to solve this problem using R Studio, you can fetch the S&P 500 data from 2009-2015. The GDP data is provided in an excel file. I found the data for the S&P, combined it with the GDP, and exported it to one .csv file. However, I am confused on how to create variables. The below documents are the question, the provided GDP data, and the .csv file I created. Looking for someone to complete the problem, minus the analysis, and send me their r code file. Thanks
- Attachment 1
- Attachment 2
- Attachment 3