I\'m trying to mimic the EIA\'s methodology for interpolating data as shown here: . Essentially, I want to calculate the last year value and 5 year average for each region,