This time-series.R script, below, takes a set of historical time series data and does a walk using the forecast period to generate probabilistic outcomes from the data set. Input file is a csv file with two columns (Date, Value) with dates in reverse chronological order and in ISO-8601 format. Like so: 2019-08-06,1.73 2019-08-05,1.75 2019-08-02,1.86 Output … Continue reading Forecasting in R: Probability Bins for Time-Series Data
Category: code
Forecasting with R Script: Graph of WHO Flu Data
# flu.R # Original: November 2, 2018 # Last revised: December 3, 2018 ################################################# # Prep: Go to the WHO Flumart website: # http://apps.who.int/flumart/Default?ReportNo=12 # Select Year 2000 Week 1 to current year, week 52. # Save file to the data directory. Change weeks below. ################################################# # Description: # Script parses cvs file and provides … Continue reading Forecasting with R Script: Graph of WHO Flu Data
