Correction: The Calculator of Anti-Alzheimer's Diet. Macronutrients

[This corrects the article DOI: 10.1371/journal.pone.0168385.].

Following publication of our work [1], concerns were raised about some detailed aspects of the calculator statistical model. The critiques were related both to the rationale and the implementation of the model.
In response, we have introduced global optimization of precedence periods instead of a sequential one and recalculated the results using updated table of nutrients (USDA) as well as corrected set of "R original " [2]. In this Correction, we explain these updates and provide revised Tables and Figures to correct the errors identified in the published article.
1. One of the purposes of this correction was to recalculate the results using the updated table of nutrients availability (Source: Calculated by USDA/Center for Nutrition Policy and Promotion. Data last updated Feb. 1,2015). The Table was accessed for the purpose of recalculation in March 2017 and during the process of preparing the text of Correction it was replaced by USDA CNPP for a new one (https://www.cnpp.usda.gov/USFoodSupply-1909-2010) which does not differ in respect to macronutrients availability. Please see attached the set of nutrients data used by the authors (S1 File). In the previous version of the paper [1] the outdated table was used which is currently not available. The updated table of nutrients differs from the previous version and impact on the recalculated results.
2. Concerns were also raised about the previously established set of the values of "R original " [2]. Those values were checked and minor errors were found. These errors are listed below and did not change the results and conclusions of the paper [ -0.488 -0.487 These errors occurred due to the manual entry of data, as it was difficult to judge to which extent the errors influenced the results described in the paper [1]. Accordingly, we recalculated the entire dataset using the corrected set of "R original ". The recalculation impacted Fig 1 and  Tables 1-4. Please see the corrected Fig 1 and Tables 1-4  3. Use of sequential versus global optimization was questioned. Contrary to our assumptions, sequential optimization procedure does not cover all possibilities of a highest maximum of correlation-our criterion for choosing appropriate precedence periods. Therefore, we reapplied the procedure of determining precedence periods (using global optimization) up to -20 years except the period 2 (1949-1970) with the presence of alcohol for which we applied shorter precedence periods (-15 years) due to years of prohibition in the USA.
Results of recalculation that incorporate the above changes are presented in the new versions of Fig 1, Fig 5, and Tables 1-4. Recalculation results differ from the original version of the paper [1]. The most pronounced differences concerned prediction of the proportions of macronutrients in Table 4  Revised results concerning protein share in the diet differ from those presented in the previous version of the paper [1]. We currently postulate to reduce the amount of protein in the diet for the first three quarters of life. Contrary, for the late age we propose to consume more protein than in the first three quarters of life and more than the historical availability for the studied population (Table 4 and Fig 5).  Table 4. Comparison of the mean availability of macronutrients in the corresponding periods of precedence with predicted optimal proportions of macronutrients in grams per day assuming 2000 kcal diet. Calculated from models without alcohol and with two levels of alcohol consumption: 12.5 or 25 g pure ethanol daily corresponding to half or one standard drink a day, respectively. It should be mentioned that standard drink that we have used differs from US standard drink which contains 14g of pure alcohol. Including alcohol into calculations caused an increase in the predicted protein consumption for the period of late middle age. When it comes to carbohydrates and total fat consumption our predicted intakes are moderately lower than the corresponding mean for carbohydrates and on the same level or slightly higher as mean for total fat. It should be mentioned that total fat is a nutrient with highest influence on R predicted for most of the models (see Table 2). Since we applied 5g step size in the calculator the ±5g is a maximal accuracy of our predictions.
We have also fixed an error which occurred in our results presented in Table 4 caused by replacing data columns for fat with that for protein and vice versa for periods 1970-1990 and 1990-2005. In addition, the authors provide the following clarifications: 1. In regard to the concern of the reader that the calculator produces an infinite number of solutions-we agree, that in theory, there is an infinite number of solutions but due to the discrete step sizes of our calculator this number is limited. Imposing the criterion of minimum energy difference reduces the number of possible solutions to a very few and with larger step sizes (like 5g which seem reasonable taking into consideration the precision of input nutrient data) to only one. The criterion is based on the rule of keeping the predictions as close as possible to the set of nutrients on which the regressions were done. Our criterion of the minimum energy difference between given pattern and mean availabilities enables that. Therefore, such a selection of one solution has the highest confidence from all possible.
2. The scaling using energy units has been done to express proportions of macronutrients in a more applicable form than availabilities (Table 4 and Fig 5). Such an approach is often used in the nutritional sciences. To compare macronutrients intake the equivalent energy is calculated. There is a quite strong biochemical background supporting the consideration of proportions rather than amounts of macronutrients [3]. Many thanks to the reader for pointing out that scaling can change the (R predicted ). Although we have not explained it in detail it was clear for us, but we thought that it was not important, since the calculator works on availabilities just to find optimal proportions of macronutrients and these proportions can be transferred to 2000 kcal diet. Application of the equation of calculator to a different set of scaled amounts is not allowed. So, we think that our 2000 kcal diet is valid.
3. The ranges of validity of the model are an important issue. According to our assumptions valid range is that which give reasonable R predicted i.e. (within range -1, 0). One can imagine a diet which taking into account nutrient availabilities, gives values outside of this range. It could be interpreted as a very unhealthy. This does not concern scaling with the same proportions. Diets outside the range (-1, 0) have proportions located far away from the optimal.

Discussion
The main assumption we have made, that the remarkable oscillations of the R original observed in the paper [2] could be explained by the variations in the proportions of macronutrient consumption by the population of the USA, need to be confirmed by standard epidemiological studies. Recently, several papers appeared which suggest that our predictions concerning protein consumption in different periods of life and its relation to cognition decay in old age [3][4][5] are valid.