Closed jm-rivera closed 3 months ago
The code does a linear projection (via a linear regression) based on the previous 5 years (parametrised so we could easily change that). It projects 3 years forward (but also could extend that).
The projections are done by country and counterpart_area. If the trend goes negative, I assign a value of 0 (since there can be no negative inflows).
Project inflows based on 5-year linear trends, rather than 2-year averages. @sharcourt14, @Mattie-P, @lpicci96 FYI