This is the final project for STAT 131 - Time Series at Harvard University. I performed a statistical analysis of agricultural market data from the past 40 years using time series methods.
The code and data are located in code/, the proposal and final report are in reports/, and the plots used in the reports are in plots/.
The final report is here: Time Series Modeling of Agricultural Market Data.pdf.
First, clone the repository:
git clone https://github.com/ztizzlegaming/agricultural-time-series
Next, in code/final_project.R, replace the path variable with the path to the code/data folder. For example, if you cloned the repo to your desktop, it will be something like:
path = '~/Desktop/agricultural-time-series/code/'
You should then be able to run the file using RStudio or the command line.