********************************************************************* Comprehensive list of improvements and modifications to the Model Evaluation System (MES) ********************************************************************* Versions 2.0.8 to 3.2.10 were reconstructed on 2026-10-03 from the setup program of each version (the files it installs and the captions and messages of MES.exe), because no list of changes had been kept. "Maintenance update" means the program was rebuilt and no new option, message or file was found. Versions without a setup program on file (before 2.0.8, 2.0.9, 3.0.0 to 3.0.4, 3.1.2) are not listed. 4.0.9821.36337 (2026-12-01) --------------------------- MES 4.0 is MES rewritten as a .NET program for Windows. It brings everything of version 3.3.1, the last version of MES 3, published with it, and what is new in MES 4. The analyses are those of 3.3.1 and give the same numbers on every sample dataset, except where an item below says otherwise. (1) THIS VERSION MAY REQUIRE (RE)REGISTRATION DUE TO CHANGES IN THE LICENSING. MES uses the annual NutritionModels.com licensing of RNS and SRNS, and this version has a new registration code. A registration of MES 3 on the same computer is carried over the first time MES 4 starts and stays valid for 365 days from that day; after that date MES asks for the new registration code. MES 3 stays registered as it was. (2) Help/Register and the Register button of the About window show the registration and take the new registration code at any time; a registration made there is shown at once, and Register never uses up an evaluation run of a copy being evaluated. (3) MES is now a .NET program (.NET Framework 4.8.1) and runs as a 64-bit program on 64-bit Windows. It replaces MES 3; your datasets and the samples stay in Documents\NutritionModels\MES Files. (4) Redesigned start-up screen: the version and copyright, who the copy is licensed to (or the evaluations remaining), the computer it is running on, and the notice. While MES starts, it checks the data folder, the manual, the R script templates, the R engines and the error log, and names each check as it runs; the status bar of the main window then gives the result. The start-up report is saved in Documents\NutritionModels\MES Files\Logs when Settings/Logs/Save Start-up Reports is on (the default), and Settings/Logs/Open Last Start-up Report opens it. (5) Help/Update and the Update button of the About window share one routine: it reads update.xml, the update file of the other NutritionModels.com programs, shows the release notes of the newer version before you decide, offers to save the dataset, and then downloads and installs the new version. When MES starts, it checks for a newer version in the background, gives up after 15 seconds when the website cannot be reached, and says something only when a newer version is available. update.txt is no longer read. (6) Errors are reported with a short message and written, with the date, the version and the place, to Documents\NutritionModels\MES Files\Logs\MES errors.log, and MES stays open. Settings/Logs turns the error log and the start-up reports on or off (both on by default), opens them and the folder that holds them, and copies the system information. (7) Saving is safer: a dataset is written to a temporary file that replaces the original only when the save is complete, so a failed save leaves the previous file intact. A save that fails gives a message that names the file and says it was NOT saved. (8) When the dataset has changed, MES asks whether to save it before it is closed, replaced by a new or another dataset, or MES ends. The title bar shows the version of MES and the name of the dataset, with * when it has changed. (9) New file formats: datasets are saved as .mesx, an XML file that keeps the options, the data, the notes with their formatting, the R scripts chosen for the dataset with the R options, and the look of each plot; comparison lists can be .mcsx files. Save As offers .mesx first. MES 3 datasets (.MES) and comparison lists (.MCS) are still read, and a .MES file saved again stays a .MES file that MES 3.3.1 can open. (10) Numbers are saved and read the same way whatever the regional settings of Windows. Dataset files keep every number with a decimal point, and a .MES file is read with the decimal separator found in its own numbers. Before, with a decimal comma, values pasted into the grid came back multiplied (3.5 as 35) after the file was saved and opened again, and a file typed on a computer with a decimal comma was read wrongly on a computer with a decimal point, and the other way round. Files saved by earlier versions are read correctly. The same applies to the limits, thresholds and probability saved with the options, to the comparison of models, and to the data file sent to R. The probability of the deviation analysis is read correctly when it is typed with a decimal comma (0,05 was read as 0). (11) New main window: it can be resized and maximized, starts at its smallest size, and remembers its size and place. Its pages are tabs: Dataset, Options and Statistics, Residual and Graphs, Notes, and R Scripts. Open, Save, Save As, Print, Calculate, Compare, Report, About and Exit are large buttons along the bottom. (12) MES adapts to the scaling of each screen (per-monitor DPI), also when its windows move from one screen to another; text, buttons and pictures stay sharp. (13) New menu bar with every command of the buttons, to the common NutritionModels.com layout: File, Edit, View, Analysis, Settings, Tools and Help. Every menu command shows a short description when the pointer rests on it, and has an underlined letter; File/New (Ctrl+N), Open (Ctrl+O), Save (Ctrl+S), Save As (Ctrl+Shift+S), Print (Ctrl+P), Analysis/Calculate (F5) and Help/Manual (F1). Settings/Always on Top keeps MES in front of other programs. (14) Settings/Color Scheme: eleven color schemes, the same in every NutritionModels.com program (Harbor Blue, Sage Meadow, Golden Harvest, Desert Sand, Chestnut, Rosewood, Plum Orchard, Amethyst, Lavender Slate, the default, Silver Mist and Charcoal Night; item 110). They color the windows, the menus, the tabs and the buttons of the tabs and of the Notes bar (item 99); the data grid, the input boxes, the notes and the results stay white so numbers read the same. Plot, results and picture windows that are open follow a change at once. (15) File/Recent Files lists the last ten datasets and comparison lists opened or saved; a file that no longer exists is shown with "(not found)" until File/Recent Files/Remove Missing Files, and Clear List empties the list. (16) New data grid. A Use check box on each row replaces the Exclude column (a row not used is still written as excluded in a .MES file, so MES 3.3.1 reads it). Select All, Unselect All, Insert, Delete, Copy, Paste (also from Excel) and Clear Cells (Del) are buttons under the grid, in the Edit menu and in a right-click menu; under the grid MES shows how many data points are used and unused. A new dataset has 19 empty rows. Empty rows at the end of a dataset are left out when it is saved; empty rows inside the data are kept, as Calculate stops at the first row without X. (17) New Weight column: how many observations each point stands for (empty means 1). It is kept in the .mesx file; a .MES file has no place for it, and MES says so before saving one. The calculations do not use the weights yet. (18) The SD X and SD Y columns can hold standard deviations, as before, or inverse variances (1 / SD squared, as York and Lybanon give their weights), chosen for X and for Y on the Dataset tab. MES uses SD = 1 / square root of the inverse variance; the choice is kept in the .mesx file, and a .MES file receives the standard deviations. (19) Print (Ctrl+P) shows the data table in a print preview; on the Notes tab it prints the notes with their formatting. (20) The status bar tells what MES is doing, with the percent done and a progress bar, when it opens, saves, calculates, prints, writes the report or runs every R script. (21) Tips with a title and a short explanation (shown when the mouse rests on a control) for nearly every button, option, threshold and limit of the main window. (22) Notes tab: a rich text editor with open (.rtf or .txt), save (.rtf or .txt), print with formatting, cut, copy, paste, undo, redo, font and size, bold, italic, underline, text color and highlight, alignment, bullets, insert date and zoom, also in a right-click menu and in Tools/Notes. The dataset file keeps the notes with their formatting; MES 3.3.1 reads them from a .MES file, and older versions of MES read their text. (23) New results window (results of Calculate and of the comparison of models, text of the R scripts): Find (Ctrl+F, F3), Copy, Print, Save, Info and Close; Allow editing, Word wrap and On top; the font, its size and the zoom (also Ctrl and the mouse wheel) in the status bar, taken by the next results window. Save writes the text (.txt), the text with its formatting (.rtf), or both. Each calculation opens a window of its own, so results can be compared side by side. (24) New plot window, drawn with ComponentOne FlexChart (MSChart is no longer used): it can be resized; Settings changes the axes, the series, the titles, the legend, the colors and the fonts, and a double click edits the part clicked; a right-click menu makes the symbols, lines and text larger or smaller and changes the shape and color of a series. Log axes, the same scale on both axes, the legend (outside or inside the plot area) and gridlines are check boxes. Copy, Save (PNG, TIFF or JPEG at 72 to 1200 dpi, or SVG; see item 91), Print, Info (how to read the plot, with references), Close and On top. The look of each plot is kept in the .mesx file and used again. Plot windows no longer stay in front of the main window. (25) Histograms: X and Y together or separately, as bars side by side, stacked or stacked to 100%, or as lines, areas or steps, with the range of each bin on the axis. Ranks ranks X and Y when the grid has no ranks. (26) Plot "Studentized Residue vs Regression-Predicted": each residual is now shown at its own regression-predicted value. Before, the residuals were sorted before they were drawn, so they were paired with the wrong predictions, and with negative residuals one of them was replaced by 0. No reported number changes. (27) Normality tests of the residuals: Shapiro-Wilk, Anderson-Darling, Cramer-von Mises, Watson, Kuiper and Kolmogorov-Smirnov, and the normal scores of the residuals (the normal probability plot and the tables of the residual analysis), are corrected: the values were sorted together with an extra 0, which took a rank among them and left the smallest residual out. Their statistics and P-values change in every residual analysis. The same fault changed the medians of data with negative values and Spearman's correlation when X or Y has negative values. (28) The median of an even number of values is now the mean of the two middle values (with 10 values, the 6th and 7th were used). The X and Y medians and the resistant r2 change, for example in the samples Freese (1960) Tables 1 and 2, Cohen and Cohen (2008) walleye, Lybanon (1984) and Tedeschi et al. (2004). (29) F test of identical variances (H0: VarY = VarX): in one of its two cases the degrees of freedom were n - 2 in place of n - 1; the P-value changes, for example in the samples Cohen and Cohen (2008) test scores, Etheridge et al. (1998) Dumas, Freese (1960) Tables 1 and 2, Kvalseth (1985) and Lybanon (1984). (30) Mean bias: the two t tests (same variance and different variances) were printed on each other's lines; each result is now on its own line. (31) The chi-square quantiles used for the confidence bounds of the deviation analysis and for the confidence ellipse are now computed until they converge (the calculation stopped after one step). In the samples the bounds change only in the fifth decimal. (32) A number too wide for its place in the results is printed in scientific notation (for example 1.8827E+04) instead of n/a: the variances and covariance, chi-square, the variance of MSEP and a Z-value with its confidence interval. A standard error that the regression with errors in X and Y could not determine is still shown as n/a, and so are the t and P values of its tests, which 3.3.1 printed as if the test had been made. (33) Regression with errors in X and Y: the standard errors of the intercept and the slope are computed as in the published method (Numerical Recipes, fitexy), which takes the remainder of an angle by pi; the angles were rounded to whole numbers first. The intercept and the slope do not change, and the sample datasets give the same standard errors. (34) Bland-Altman analysis: the regression of the difference on the average now uses the mean of X and Y of each row (it used the Y of the first row for every row) and regresses the difference on the average, as the printed equation says (it regressed the average on the difference). Its intercept, slope and tests change. (35) Kleijnen analysis: the tests of identical means and of identical variances are now computed also when Diverse Measures is on; before, they were not computed and both warnings "Stringent assumption of identical mean (variance) failed" were always printed. (36) No more limits on the size of a dataset: the robust (median) regression stopped with more than 999 rows, the Mann-Whitney test refused 2000 points or more, the contingency table was limited to 100 by 100, and the robust Qn statistic failed above 46,340 rows. The Shapiro-Wilk test with fewer than 3 points is shown as n/a. Kendall's tau is computed by a faster method (Knight, 1966) with the same result. (37) An error in one part of the calculation does not stop the other parts, and it is not silent: the results show a line beginning with "??" that names the part and the error, and warns that its results may be incomplete or wrong. The same is done in the comparison of models. (38) The test that stops the calculation when the X and Y values are identical now works when the dataset has empty or excluded rows. (39) Residual analysis: new "Model bias regression analysis", the regression of observed minus model-predicted on the model-predicted values centered on their mean. Its intercept is the mean bias and its slope is the linear bias of the model, each with its test against zero. The "Residue regression analysis" is kept: it regresses the residue of the regression on the regression-predicted values, and notes now explain that for the ordinary regression its intercept and slope are zero by construction. (40) Residual analysis: the limits of the Residual and Graphs tab are used as they are typed or saved in the dataset file. Before, only the scroll bars changed the deviation and residual limits, the limits of the studentized deleted residues were always -2.5 and 2.5, and opening the Dataset page put the default limits back. With deviation limits and no probability, the probability shown is that of the limits (it was always 95%). The XY threshold of the threshold table may have decimals (it was rounded to a whole number). (41) Generalized concordance correlation coefficient: a method that has no valid result, which can happen with few data points, is shown as n.a. with a note under the table. Before, a winsorized coefficient could be outside -1 to 1 with a reversed confidence interval. The 5th and 95th percentiles of the winsorized methods are also right now for data with negative values. (42) Balance analysis and orthogonal balance: the reference in the heading is now Tedeschi (2006), which has one author (it said Tedeschi et al., 2006). (43) Distance analysis: the heading now names its references, Legendre and Legendre (1998) and Kullback and Leibler (1951), in place of "(???)", with Hyde and Maier (2006), the source of the Minkowski distances; Legendre and Legendre (1998) and Kullback and Leibler (1951) were added to the list of references. (44) Kleijnen analysis: the reference of the information text is now Kleijnen, Bettonvil and Van Groenendaal (1998), Management Science 44:812-819, the paper of the method. It cited a paper that does not exist. The name Van Groenendaal is also corrected in the list of references. (45) New manual, "The Model Evaluation System (MES) to assess the adequacy of mathematical models: History, science, and user guide" (manual_en.pdf, 37 pages, in the Docs folder of the program), opened with Help/Manual (F1); it takes the place of MES.pdf, the 2004 text on the assessment of models, which is no longer installed. The start-up report says whether the manual was found. (46) The R scripts installed with MES are now in two folders of the program (MES4R for one dataset, MCS4R for the comparison of models), and all eight were rewritten: the graphs are drawn with ggplot2 (regression equations, R2 and n on the graphs, legends, confidence bands, one look for all the scripts) at print resolution (300 dpi for PNG and TIF); empty rows and excluded data points are left out, as in MES itself; and each script says in its text output which graphs it saved. R 4.1 or later is needed. Changes in the analyses: the ordinary regression script adds a paired t-test, confidence intervals of the coefficients, a Shapiro-Wilk test of the residuals and lists the points with high leverage, Cook's distance or residual; the distribution script adds normal Q-Q plots and the Shapiro-Wilk test, and its density plot of the observed values now shows the observed values; the model agreement script (Lin et al., 2002) says whether each criterion is met and has two graphs; the cumulative residuals script prints its numbers and saves its third graph (it overwrote the second); the centered residuals script now analyzes two residuals side by side, each labeled, on predictions as they are, min-max normalized, standardized and centered: (A) the model bias, observed minus model-predicted on the model-predicted values, whose centered intercept is the mean bias and whose slope is the linear bias, and (B) the regression diagnostic, observed minus regression-fitted on the regression-fitted values, which is what the script did before and is zero by construction; the ordinary regression script shows the same two residual plots; the two comparison scripts print the correlations with their P-values, and the correlogram no longer needs the corrgram package. (47) R packages: a script installs the packages it is missing through installpackages.r, which shows its progress in the browser and keeps a log in Documents\R_Logs. The files that find R and install the packages are in the RTools folder of the program. (48) New R Scripts tab (Tools/R Scripts gives the same commands): the R engines found on the computer, the newest version first and preselected, with Browse for R and Open R, and the engine chosen is remembered; the type of the graph files (PNG, the default, JPEG, TIF or BMP) and what to open after a run; the list of scripts, where the scripts ticked are kept with the dataset; the output files of the selected script, or every file of the results folder; Run, Run All, Edit, Refresh, View, Close (closes every results and picture window opened from the tab), Delete and Folder. (49) Run All runs every R script of the list, one after the other. The text and the graphs of each script are opened or not as the options of the R Scripts tab say, and a script that asks questions uses its default values. The Report then shows all the results together. (50) R scripts: the list of scripts shows every R file (*.R), whether or not a dataset is open, from three places: the folder of the open dataset; the folder for your own scripts, Documents\NutritionModels\MES Files\MES4R; and the MES4R folder of the program. A script of your own no longer needs a name that begins with SingleCode. When the same name is in more than one place, the first place in that order is used. (51) An R script can be run only on a dataset that has been saved; MES asks to save it first (the script and its results are saved beside the dataset file, and for a dataset never saved they were not found). (52) R scripts: the names of the data, script, text and graph files are now built correctly when the dataset file has an extension that does not have three characters. (53) The graphs made by R are shown in a picture window of MES in all four formats, fitted to the window or at their own size, with Copy, Save, Print and Close. (54) New R scripts for one dataset: Bootstrap Intervals (confidence intervals of the evaluation statistics: intercept, slope, mean bias, MSEP and its parts, RMSEP, concordance correlation, modeling efficiency and others); Intercept and Slope Tests (joint F test of intercept 0 and slope 1 with its confidence ellipse, Deming and Passing-Bablok regressions for errors in both variables, and equivalence tests); Bland-Altman Differences (bias and limits of agreement with their confidence intervals, proportional bias, curvature, unequal spread and quantile regression of the differences). (55) New R script Rank Tests for one dataset: Spearman and Kendall correlations, the paired tests of the differences (Wilcoxon signed-rank with the Hodges-Lehmann estimate, sign test, paired t-test) and the unpaired ones (Mann-Whitney, Kolmogorov-Smirnov), with a note on which test answers which question, two graphs and its sentences in the summary of the report. The scripts for one dataset are numbered 01 to 10, so the list shows them in order. (56) R script Robust Regression rewritten: Huber's M-estimator and the MM-estimator (robustbase, setting KS2014, suited to small samples) now test whether the line is Y = X (intercept 0 and slope 1, each alone and both together), as ordinary least squares does, with the joint confidence regions of the three in one graph. A new graph separates outliers from unusual model-predicted values (good and bad leverage points), and the summary of the report says whether the robust test agrees with the ordinary one. The R package robust is no longer needed. (57) Template for your own R scripts: MES4R_Template.R explains what a script receives from MES and what it must write, and runs as it is. (58) Results folder: everything MES and R make from a dataset now goes to a folder beside the dataset file, named after the file and the day (for example Tedeschi et al. (2004)_2026-10-05): the results of Calculate (also saved as a text file), the data written for R, the copy of each R script, the text, graph and log files of the scripts and the residue files. Before, all of them were saved beside the dataset. (59) New Report button: one web page with everything in the results folder, written in that folder and opened: a list of the analyses, the results of Calculate, the plots of MES (each saved in the results folder as a PNG picture when it is made, at twice its size on the screen, and saved again when it was changed; a changed plot that is closed first asks whether to save its picture again), and each R script that was run, named by its code and its file (for example SC1: MES 01 Ordinary Least Squares.R), with its text and its graphs. The page begins with a summary: what Calculate and each R script found, in plain sentences with the number behind each one (your own scripts add theirs with mes_summary); and it ends with the data as a folded table. Pressing Report again after more analyses writes the page again with all of them. When no file is open, or the file has no results of the day, MES asks for the results folder to make the report from, so the report of an earlier day can be made again. (60) Comparison of models: Compare (Analysis/Model Comparison) opens the Model Comparison System window (item 76), which opens a comparison list (.mcsx or .MCS) and shows the comparison of its datasets in a results window. The observed values of the files are compared as numbers (3.5 and 3.50 were "not identical"). The sample comparison files (Wallach and Goffinet (1989).MCS and N Analysis.MCS) open their datasets again; they held folders of Windows XP. A dataset listed in a comparison file that is not where the file says is now looked for, by its name, in the folder of the comparison file and then in Documents\NutritionModels\MES Files, and a comparison file may list the file names alone. (61) Command line: the switches of MES 3 work as before (/F dataset, /C comparison list, /Y open only, /R residual analysis, /G plots, /S save the results, /L folder of the saved results, /O open the saved results, /P print the results, /X quit when done); /G, /P and /O work as in 3.3.1, and /P prints the results to the default printer without asking. /S without /L saves the results in Documents\NutritionModels\MES Files (3.3.1 saved them in the program folder, where Windows does not allow writing). MES opens the dataset given with /F'path\file.MES' or /F"path\file.MES", also when the path has spaces, parentheses or apostrophes. A dataset or comparison list given alone, as Windows gives a file opened from the Explorer, is opened too, and a file that is not found is reported. The registration is checked once at start-up. (62) A dataset or comparison list opened from Windows (double click) while MES is open asks whether to open it in a new MES window, so that two can be compared side by side, or in the MES already open. A command line given to a second MES is run by the MES already open. (63) Sample datasets: the notes of each file taken from a paper give its full citation, with the authors in bold, the journal in italics and the DOI, and a short paragraph on what the paper does and what the file holds. (64) Sample datasets: N Analysis - Dumas.MES and N Analysis - Kjeldahl.MES are now Etheridge et al. (1998) - Dumas.MES and - Kjeldahl.MES, with their citation in the notes (N Analysis.MCS lists the new names). New sample Buckee (1994) Tables VIII and IX.MES: total nitrogen of 8 barleys and 8 malts by the Kjeldahl (X) and Dumas (Y) methods in a collaborative trial, with the reproducibility standard deviations as SD X and SD Y. (65) Two new samples on the rank analysis, from Cohen and Cohen (2008): the weights of walleye from two lakes (independent samples, where the Mann-Whitney test is the right test) and the midterm and final scores of the same students (paired data, where the Mann-Whitney test misses a difference that the paired tests find). Their notes explain which test to use. The tip of Rank analysis names its tests: Spearman, Kendall, Kolmogorov-Smirnov and Mann-Whitney. The sample Web sample of Mann-Whitney test.MES, whose source is not known, was removed. (66) New About window in the style of the start-up screen: the version, the copyright, the notice and the registration, with the buttons Update, Website, SysInfo, Register and Close. (67) The setup shows the license agreement of the NutritionModels.com programs: the kinds of license (Student, Limited, and Flexible), their use, term and renewal are those of the NutritionModels.com Licensing Guidance and the Purchase page in effect at registration. It replaces a license text that named another company. (68) Copyright 2002-2027 on the start-up screen, in the About window and in the R scripts (MES began in 2002 as ModEval). (69) Edit/Random Data opens the Random Generator of 3.3.1: X and Y with the means, variances and correlation you choose, by Frank's or Clayton's copula or the Tedeschi method, with Overwrite, Show scatter plot and Close generator as before; the scatter plot opens in front of the main window. With a correlation of 0 the copulas now give X and Y independent; 3.3.1 gave Y equal to X, perfectly correlated. (70) Edit/Scalar (Multiply and Add) multiplies X and Y by a number and adds a number. Only cells that hold a number change; 3.3.1 also filled the empty cells with the number added. (71) Data grid: Tab moves from cell to cell, and Tab or Enter in the last column of the last row adds a new row. (72) R scripts: the list shows each script by its name (Ordinary least squares, Robust regression, ...), and pointing at a script shows what it does, its file and its code. The scripts of MES have short file names in order: MES 01 Ordinary Least Squares.R to MES 11 Errors in X and Y.R, and MCS 01 Correlation.R to MCS 05 Mixed Model.R; their codes (SC1 to SC11, GC1 to GC5) and the names of their output files are those of 3.3.1. A script of your own is listed by its file name, or by the name it gives in a line mes_name <- "..." (and mes_about <- "..." for its description). A dataset that kept a script under its 3.3.1 name finds it by its code. (73) New R script MES 11 Errors in X and Y.R: York's fit (York, 1966; York et al., 2004), Deming regression with the weights of each data point and the BCES fits (Akritas and Bershady, 1996), all with the SD X and SD Y of each row, each testing intercept 0 and slope 1, beside the ordinary regression. York's fit minimizes the same chi-square as the weighted fit of Calculate, so it gives the same intercept and slope. (74) The regression with uncertainties in X and Y (weighted least squares) gives the standard errors of York et al. (2004), exact for the fitted line; those of 3.3.1 were about 1% smaller (the data of Pearson with York's weights: 0.29497 and 0.05799 for intercept and slope, where 3.3.1 gave 0.29220 and 0.05740), and could not be found for some datasets, where n/a was shown. (75) Kleijnen's difference regression: the P-value of the F test of both parameters at zero used its degrees of freedom the wrong way round (N - 2 and 2 instead of 2 and N - 2), so it came out far too large (for example 0.013 instead of below 0.00001 for F = 75.6 with 16 points). (76) New Model Comparison System window, as in 3.3.1: Compare (Analysis/Model Comparison) opens it and adds the dataset of the main window to the list; a comparison list opened with Open, from Recent Files, from Windows, dropped on the main window or given with /C opens in it. The Datasets tab lists the datasets by file name (item 104), the ticked ones compared in the order of the list, with Add, Remove, Clear, Up, Down and Open (the selected dataset in the main window); datasets dropped on the list are added, and a comparison list dropped there is opened. The Options tab sets the widths of the columns and the decimals of the results (item 103). The R Scripts tab runs the R scripts for the comparison of models (MCS 01 to MCS 05, with MCS 05 Mixed Model taking each file as a study) as the R Scripts tab of the main window does, with Run, Run All, Edit, Refresh, the output files and the graph type; the scripts ticked and the R options are kept in the .mcsx file. Open, Save, Save As, Calculate, Report and Close are along the bottom; Report writes the report of the comparison. A list saved as .MCS keeps the options for MES 3.3.1. MES asks whether to save a changed list, and the window stays in front when the main window does. (77) View/Arrange Windows and the Windows group of the Options and Statistics tab place the plot and results windows as they open: Off (where Windows puts them, the default), Cascade (decks of cards), Side by side, Plots side by side with the results cascaded, or Results only (the plots and the other windows minimized until another layout is chosen). With more than one screen, Use the Other Screens First sends the plots to another screen and the results to a third one. View/Arrange Windows/Arrange Now, or a click on the label of the group, places the windows again. Each window keeps at least its minimum size and stays inside the screen (item 100). The layout is a setting of MES, not of the dataset, and nothing is placed during a run from the command line. (78) Ranks follow the data: a dataset whose ranks are filled has them made again after every change of X, Y or Use (typed, pasted, cleared, inserted, deleted, swapped, scaled or generated), and the rows after the first row without X show none. This is the new option Re-rank automatically (Options and Statistics, Data; on by default, a setting of MES); unchecked, the ranks show a dot (.) after a change until Ranks or Calculate makes them again. (79) Edit/Remove Invalid Rows (also on the right-click menu of the grid), as in 3.3.1: the rows without X or without Y are removed and the rows below move up, so that a blank row inside the data no longer cuts the calculation short. (80) Paste and Copy follow the rules of 3.3.1. Paste cuts the text at tabs, line breaks, semicolons and commas (a comma only where Windows does not use it as the decimal mark) and skips a piece that is not a number. With Paste a single column checked, the numbers go down the column of the selected cell; unchecked (the default, item 105), they fill the grid from the first data column of row 1, across the columns in their order on screen, each line starting a new row. Copy with a single cell selected copies the whole dataset, so that a paste puts it back. (81) A dataset dragged from File Explorer and dropped on the main window or its grid is opened, after MES asks to save a changed dataset; a comparison list dropped there opens in the Model Comparison System window. (82) Seven options, Add rows on paste, Paste a single column, Add comments, Show references, Y = X line, Same scale for X and Y and Show rows not used, are remembered when MES closes and given to the next new dataset, as in 3.3.1. Paste a single column is now off at first (item 105). (83) Save residues (TXT, CSV) on the Residual and Graphs tab writes the residue table to two files, such as Residue0000.TXT and Residue0000.CSV, in the results folder of the day (in Documents\NutritionModels\MES Files while the dataset has no file), and the results name them. (84) Deviation analysis: a probability typed clears the deviation limits, and a deviation limit typed clears the probability, as in 3.3.1, so the calculation uses what was typed last. (85) Results window: the selected text can be marked with Highlight (yellow), Bold (Ctrl+B), Italic (Ctrl+I) or Underline (Ctrl+U) on the right-click menu, and the same command again removes the mark; the marks stay in the print, the copy and the .rtf file. The font, its size and the zoom chosen last are kept for the next start. (86) Plot window: resting the pointer on a point shows its row of the dataset (in the plots of the data and of the ranks; its number in the others) and its X and Y. (87) Notes: a web address opens in the browser with a click; Paste (Ctrl+V, Shift+Insert) takes the text only, without the fonts and colors of Word or a web page; and a file dropped on the notes has its text added at the end (a rich-text file with its formatting). (88) Alt+D, Alt+O, Alt+G, Alt+N and Alt+R show the Dataset, Options and Statistics, Residual and Graphs, Notes and R Scripts tabs, as the page buttons of 3.3.1 did. (89) Command line: a run that calculates (without /Y or /X) ends with the main window minimized and the results and plots in front, as in 3.3.1; /C opens the comparison list in the Model Comparison System window. (90) Statistics on the plots: the new Stats check box of the plot window shows the statistics chosen on the new Statistics tab of Settings, which lists those of the kind of plot open. Plots of Y on X: lines of the mean, the median and the 95% confidence interval of the mean of Y and of X, the mean of Y +/- SD, the minimum and the maximum of Y, the least-squares line of Y on X, the best-fit polynomial (degree 1 to 3, chosen by Akaike's information criterion), and the 95% confidence and prediction bands, shaded behind the points; a box, in the corner chosen, with n, the equation, r2, MSE, RMSE, MSEP, CCC, the mean bias, AIC and the degree of the polynomial (MSEP, the mean bias and CCC are those of Calculate). Histograms: lines of the mean, the median, the mean +/- SD and the 95% confidence interval of the mean, and the normal curve, drawn in the color of their series, a little darker; a box with n, the mean, the SD, the variance, the median, the skewness and the kurtosis and, with X and Y together, the F test of equal variances, Var(X) = Var(Y). Each line has its own width, and on the plots of Y on X its own color. The choice is kept with the look of the plot in the .mesx file, and a new plot starts from the choice made last. Statistic Lines on the right-click menu turns the five lines of 3.3.1 on and off (the mean, the mean +/- SD, the minimum, the maximum and the trend), and More Statistics opens the Statistics tab. (91) Saving pictures of the plots: at the bottom left of Plot Settings, Save pictures as PNG (the default), TIFF, JPEG or SVG at 96, 150, 300 (the default) or 600 dpi, or any number from 72 to 1200, for every plot and kept for the next session; Save starts on that format. A picture has the printed size of the plot window at 100% and is drawn again at the dpi chosen, so the text, the lines, the symbols, the bands, the boxes and the symbols of the legend keep their proportions and stay sharp, and the dpi is written in the file (TIFF compressed without loss, JPEG at quality 95). A picture that would be wider or taller than 12,000 pixels is saved at a lower dpi, with a message. An SVG drawing has no dpi and leaves out the bands, the lines of the histograms and the statistics box. The picture of each plot in the report keeps twice the size of the window. (92) Opacity (%) of each series (Series tab of Plot Settings) and of each statistic line, band and curve (Statistics tab), from 0 to 100 in steps of 5; the bars and areas start at 67% and the confidence and prediction bands at 25% and 15%. Kept with the look of the plot. (93) Settings/Open the Last Saved Dataset at Start: checked, MES started without a file opens the dataset saved last with Save or Save As; when that file is gone, MES starts with a new dataset and says so on the status bar. (94) Data grid: the rows can be sorted by any column, with the sort arrow at the right of each heading (a click sorts smallest first, a second click largest first), with Sort Ascending and Sort Descending on the right-click menu of a heading, or with Edit/Sort Rows (by the column of the selected cell). By Use, ascending puts the rows used first. Empty cells and cells that are not numbers go after the numbers, and rows with equal values keep their order. The rows move whole, so the ranks travel with their rows and are not made again; the new order is saved with the dataset. (95) Data grid: the data columns can be dragged by their headings into any order, such as X, Y, SD X, SD Y; Use stays first. The order is kept for the next start and is not part of the dataset. Paste across the columns and Copy of the whole dataset follow the order on screen. View/Reset Column Order, also on the right-click menu of a heading, puts the first order back. (96) Histograms have at least 3 bins, as in 3.3.1. Ctrl+A in the list of R output files selects or unselects them all. (97) New 64-bit setup: MES is installed in Program Files\NutritionModels\MES and replaces MES 3; the setup installs the .NET Framework 4.8.1 when it is missing, and no longer puts components in the Windows system folder. Datasets (.mesx) and comparison lists (.mcsx) open in MES with a double click, as .MES and .MCS files do. The samples are installed as .mesx and .mcsx files (18 datasets, Lybanon (1984) with inverse variances and with SDs, and 2 comparison lists), with the papers of Tedeschi (2004, 2006) in Documents\NutritionModels\MES Files\Docs. The SAS files and DOS programs of the Extras folder are no longer installed. (98) Plots: no error when a plot redraws while its settings change (for example the color of the normal curve of a histogram); the symbols of the legend are saved at their size in pictures (the symbol of the data was saved as a dot). (99) Color schemes: the toggles of the Notes bar (Bold, Italic, Underline, the alignment and the bullets) are filled in the colors of the scheme, as the buttons of the tabs, with the hover color under the pointer and the pressed color while on, so they stay visible in every scheme (on Charcoal Night their black pictures and letters could not be seen). The letters B, I and U are centered on their buttons. (100) Windows stay on the screen: View/Arrange Windows gives every window at least its minimum size and keeps it inside the screen (a results window placed beside the plots could reach past the right edge of the screen), and Cascade and Side by side never make a window smaller than its minimum. No MES window opens off the screen: a window remembered on a screen that is no longer connected opens on the nearest screen. (101) Accessibility: the buttons, boxes, lists, check boxes and option buttons, the data grid, the notes, the results and the plots of every window have names and descriptions for screen readers, taken from their text and their tips, with the keyboard shortcut; the toggles of the Notes bar are read as on or off. On the Dataset tab each label comes just before its box when Tab moves through the window, and the options of the R Scripts tab follow their order on the screen. The Space bar ticks or unticks the selected item of every checked list (the datasets of the Model Comparison System window could be ticked only with a click). (102) Data grid: Insert puts the cursor on the new row, in its first data column, so that typing fills it (it stayed on the row that moved down). (103) Model Comparison System window: a comparison list whose decimals of the probabilities or of the correlations are below 0 is calculated with 4 and 3 decimals, the defaults of the Options tab (it was calculated with 3 and 2). (104) Model Comparison System window: the datasets are listed by their file name; when two have the same name, the name of their folder is added, or a number when that is also the same. Resting the pointer on a dataset shows its full path, and the results name the models by file name and list the full paths once, under "Datasets:". The comparison lists (.mcsx and .MCS) and the data written for the R scripts are unchanged. (105) Paste a single column (Options and Statistics, Data) is off by default (in 3.3.1 it was on), so a paste fills the grid across the columns, each line a new row. A new installation and a dataset file that does not hold the option start with it unchecked; a choice that MES already remembers, or that a dataset has saved, is kept. (106) The registration and update windows are always in English, whatever the language of Windows; numbers and dates keep the format of the regional settings. (107) Manual: Table 2 gives Legendre and Legendre (1998) beside Hyde and Maier (2006) as references of the threshold and distance analyses; the command line of section 3.12 is given with the full path of MES.exe, in quotes, as a console needs it; Paste a single column is described as off by default; and the Model Comparison System window lists the datasets by file name. (108) Results window: a formatting row under the results, as the Notes bar of the main window: Bold, Italic, Underline, Text color and Highlight for the selected text, with Allow editing, Word wrap and On top right below it, and the large buttons at the right as before. The formatting row, Highlight on the right-click menu and Ctrl+B, Ctrl+I and Ctrl+U work only while Allow editing is checked (Highlight worked before with editing off); the formatting stays in the print, the copy and the rich-text file. The buttons of the graph window stay at its right edge when the window is widened. The Find window has its options in one row under the text to find, with Find Next and Close at the right. The Find, Random Generator and Scalar windows follow the color scheme and are no larger than their contents, with Execute and Return at the right of the last two. (109) Corrections of the results, after a review of each analysis against its published method and an independent calculation in R: (a) Concordance: the standard error of Liao's Gr, and its tests and confidence intervals, follow the delta method of Liao (2003) with the exact derivatives (the formula printed in the paper made the standard error far too large, 0.092 in place of 0.0089 for Tedeschi et al., 2004); the subheading reads Lin (1989) (it said 1998). (b) Generalized concordance correlation coefficient: X and Y are centered on their common mean before the coefficients are computed, and the percentiles and the cutoff of the winsorized methods are those of the authors' program, as King and Chinchilli (2001b) do; the robust coefficients no longer depend on where zero is on the scale, and the standard errors are right (with the squared distance the SE could be thirty times that of Lin's coefficient, and the winsorized squared distance gave 0.449 in place of 0.868 for Tedeschi et al., 2004). (c) Shapiro-Wilk: the coefficients use the normal scores of half the sample, as the method (AS R94) asks; W and its P-value now agree with R (Tedeschi et al., 2004, deviations: 0.98564 in place of 0.98615). This changes every Shapiro-Wilk line. (d) Mann-Whitney: the line shows W - E(W), the rank sum of Y less its mean, and the continuity correction moves it toward zero whatever its sign (the P-value was too small when Y ranked below X). (e) Balance analysis and orthogonal balance: the P-value of the odds ratio is two-sided, as the test of an odds ratio of 1 asks (it was one-sided, and near 1 for an odds ratio below 1); the row of the contingency coefficient is labeled "Contingency C" (it said "CCC"); a cell with no data point shows 0, also in the threshold table. (f) MSEP: the variance, standard deviation and coefficient of variation of MSEP are those of the MSEP estimate (the variance of the squared errors divided by n); they were those of a single squared error. The Bootstrap of MSEP now gives two blocks under one heading: the random sub-sampling of MES 3 (each point kept with the chosen probability), with sub-samples of fewer than 3 points left out and counted instead of averaged in as 0, and the nonparametric bootstrap (Efron, 1979; Efron and Tibshirani, 1993), with as many resamples of all the points drawn with replacement, which gives the mean, the standard error, the percentile 95% interval and the bias of MSEP. The random numbers are seeded, so the same data give the same numbers. (g) Bland and Altman: the bias, the standard deviation of the differences and the 95% limits of agreement are printed under the regression, in X - Y as the section. (h) Regression: Q(Chi2) is shown as n/a for the ordinary and the robust regression, where it is not a probability (it was always 1 for the ordinary regression), and the comment says that it needs the SDs of weighted least squares. (i) Deviation envelope (Mitchell and Sheehy, 1997): the default band is the 95% interval of the observed values, plus or minus 1.96 SD of Y, as Tedeschi (2006) describes it; it was 1.645 times the standard error of the mean of Y, a 90% band of the mean, and the counts above the upper and below the lower limit follow the sign of the Deviation column (X - Y); they were swapped. (j) The table of ordinary and symmetrical least-squares lines is computed also with the robust and the weighted regression (it showed zeros and an overflow error). Index analysis: the t tests and the confidence intervals of the mean ratio use n - 1 degrees of freedom. (k) Robust statistics: the comments say that Sn and Qn are estimators of scale and that close values mean alike spreads. (l) Text: the year of Cochran and Cox is 1957, as in the references; two references that ran together are on lines of their own; "between" and "health status" in two titles. The results cite Kvalseth (1985) for the resistant r2 and Mitchell (1997) and Mitchell and Sheehy (1997) for the deviation analysis, and the references list them with Efron (1979) and Efron and Tibshirani (1993). The Number of Influential Points counts every point, also for the columns not shown in the residual table (before, those lines printed 0). (110) Color schemes: four new schemes, Golden Harvest, Rosewood, Plum Orchard and Amethyst, make eleven, listed in the same order as in the other NutritionModels.com programs. While Settings/Color Scheme is open, the scheme under the pointer, or reached with the arrow keys, is shown on the main window at once; a click or Enter keeps it, and Esc or a click elsewhere puts back the scheme in use. Each scheme has an underlined letter and the tip "Use the color scheme."; a scheme name MES does not know gives Lavender Slate. (111) R scripts: MCS 04 Taylor and Target Diagrams no longer cuts the axis title and the footnote of the Target Diagram (each on two lines), and every graph of the scripts and of the templates leaves room under its footnote; "Gray" in place of "Grey". MES 03 Distribution shows a warning of a normality test, such as "p-value is smaller than ..." of the Cramer-von Mises test, as a note under that test instead of a warning at the end of the log. MES 11 Errors in X and Y no longer uses geom_errorbarh, which ggplot2 4.0 deprecates. All the scripts were run again with R 4.6.2. (112) Manual: the pictures are those of this version, with the eleven color schemes and the color buttons of item 113; every web address is a link. (113) Notes and results: Highlight and Text color mark the selected text with the current color in one click (a second click takes it off); the small arrow beside each button, or a right-click on the button, chooses the color, which is kept for the next start. The pictures of the buttons show the current colors. The right-click menu of the notes and of the results windows is the same (Undo, Redo, Cut, Copy, Paste, Select All, Highlight, Highlight Color, Text Color, Bold, Italic, Underline, Find, Zoom, Print, Save), and Find (Ctrl+F, F3) works in the notes. (114) Print: the print preview of the dataset shows the icon of MES. (115) Sample files with notes: MES Files\Annotated holds the samples used in the tutorial videos, each with the notes written in the videos after its own notes (_annotated.mesx). (116) MES 3 and MES 4 on the same computer: MES 4 installs in its own folder and neither setup removes the other, and an installed MES 3 offers MES 4 as its update. Both use Documents\NutritionModels\MES Files, where the setup of MES 3 installs its own MES4R_Template.R and MCS4R_Template.R under the same names. At each start MES 4 puts its templates back and keeps the others under new names: the template of MES 3.3.1 as MES4R_v3_Template.R and MCS4R_v3_Template.R, and a template changed by the user as MES4R_User_Template.R and MCS4R_User_Template.R. No template is lost, none of them is run by Run All, and the start-up report says what was done. (117) Data grid: a new number format of X and Y, or of the SDs, on the Options and Statistics tab shows in the grid as soon as the box is left. Only the display changes; the values keep every decimal. (118) Results windows: the formatting buttons (bold, italic, underline, text color, highlight) take the colors of the color scheme, as on the Notes tab. 2026-12-01 (version 3.3.1) -------------------------- (1) The update check now reads update.xml, the same update file used by RNS, GasFit and LRNS, and uses update.txt only when update.xml cannot be read. (2) When a newer version is available, the release notes can be opened from the update prompt before deciding to update. (3) Fixed the update check, which could miss a newer version when the lines of update.txt did not end in CR LF. (4) The check made when MES starts and the one in the About window now share one routine, so they always behave the same way. The About window says which version you have when it is the latest; when the update server cannot be reached it says to check the internet connection and offers the technical details instead of opening them in Notepad. (5) Redesigned start-up screen: the version and copyright, who the copy is licensed to (or the evaluations remaining), the computer it is running on, and the full disclaimer and trademark notice together. It closes after 10 seconds, or at once on a click or key press; clicking the notice keeps it open while you read. (6) While MES starts, the start-up screen checks the program and the computer, the data folder, the saved options, the R engines, the R script templates, the program components, the help file, the printer and the update server, and names each check as it runs. When the checks finish, the status line tells how many R engines were found and can be clicked to read the start-up report, which is always saved in Documents\NutritionModels\MES Files\Logs. (7) Saving is safer: a dataset (.MES) or a comparison file (.MCS) is written to a temporary file that replaces the original only when the save is complete, so a failed save leaves the previous file intact. A save that fails now gives a message that names the file and says it was NOT saved; before, it ended without a message. (8) The R scripts installed with MES are now in two folders of the program (MES4R for one dataset, MCS4R for the comparison of models), and all eight were rewritten: the graphs are drawn with ggplot2 (regression equations, R2 and n on the graphs, legends, confidence bands, one look for all the scripts) at print resolution (300 dpi for PNG and TIF); empty rows and excluded data points are left out, as in MES itself; and each script says in its text output which graphs it saved. R 4.1 or later is needed. Changes in the analyses: the ordinary regression script adds a paired t-test, confidence intervals of the coefficients, a Shapiro-Wilk test of the residuals and lists the points with high leverage, Cook's distance or residual; the distribution script adds normal Q-Q plots and the Shapiro-Wilk test, and its density plot of the observed values now shows the observed values; the model agreement script (Lin et al., 2002) says whether each criterion is met and has two graphs; the cumulative residuals script prints its numbers and saves its third graph (it overwrote the second); the centered residuals script now analyzes two residuals side by side, each labeled, on predictions as they are, min-max normalized, standardized and centered: (A) the model bias, observed minus model-predicted on the model-predicted values, whose centered intercept is the mean bias and whose slope is the linear bias, and (B) the regression diagnostic, observed minus regression-fitted on the regression-fitted values, which is what the script did before and is zero by construction; the ordinary regression script shows the same two residual plots; the two comparison scripts print the correlations with their P-values, and the correlogram no longer needs the corrgram package. (9) R packages: a script installs the packages it is missing through installpackages.r, which shows its progress in the browser and keeps a log in Documents\R_Logs. installpackages.vbs and R.Vbs were replaced by the versions of GasFit 4.3.0: they find every R on the computer (registry and usual folders), use the newest, check that it is R 4.1 or later, and report whether the installation of the packages worked. These files are now in the RTools folder of the program. (10) R scripts: the names of the data, script, text and graph files are now built correctly when the dataset file has an extension that does not have three characters. (11) When MES is started with a command line, the registration is checked once (it was checked twice). (12) vbDownloader.dll is no longer used by MES. (13) Numbers are saved and read the same way whatever the regional settings of Windows. Dataset files (.MES) now keep every number with a decimal point, and a file is read with the decimal separator found in its own numbers. Before, with a decimal comma, values pasted into the grid came back multiplied (3.5 as 35) after the file was saved and opened again, and a file typed on a computer with a decimal comma was read wrongly on a computer with a decimal point, and the other way round. Files saved by earlier versions are read correctly. The same applies to the limits, thresholds and probability saved with the options, to the comparison of models, and to the data file sent to R. (14) The probability of the deviation analysis is read correctly when it is typed with a decimal comma (0,05 was read as 0). (15) An error in one part of the calculation still does not stop the other parts, but it is no longer silent: the results show a line beginning with "??" that names the part, the error, and warns that its results may be incomplete or wrong. The same is done in the comparison of models, where an error used to close the program, and for the residual plots. The plots of the values and of the ranks give a message instead of closing the program. (16) Error log: every error MES reports is also written, with the date, the version and the place, to Documents\NutritionModels\MES Files\Logs\MES errors.log. The start-up report tells whether the log exists. (17) The test that stops the calculation when the X and Y values are identical now works when the dataset has empty or excluded rows. (18) Residual analysis: new "Model bias regression analysis", the regression of observed minus model-predicted on the model-predicted values centered on their mean. Its intercept is the mean bias and its slope is the linear bias of the model, each with its test against zero. The "Residue regression analysis" is kept: it regresses the residue of the regression on the regression-predicted values, and notes now explain that for the ordinary regression its intercept and slope are zero by construction. (19) An R script can be run only on a dataset that has been saved; MES asks to save it first (the script and its results are saved beside the dataset file, and for a dataset never saved they were not found). The comparison of models does the same: it asks to save the comparison (.MCS) file first. (20) New manual, "The Model Evaluation System (MES) to assess the adequacy of mathematical models: History, science, and user guide" (manual_en.pdf), opened from the About window; it takes the place of MES.pdf, the 2004 text on the assessment of models, which is no longer installed. The start-up report says whether the manual was found. (21) New option "Organize plot and results windows" (Options): Off, Cascade (decks of cards: each window a title bar below the one before, a new deck to the right when the bottom of the screen is reached), Side by side (a grid that fills the area; when there are too many windows for a readable size, the extra ones are stacked on the cells), or Plots side by side with the results cascaded at the right. The windows are placed when they open, on the screen of the main window and beside it when there is room; "Use the other screens first" sends the plots to a second screen and the results to a third one. A choice in the list, or a click on its label, places the windows again. The graphs made by R that MES shows are placed with the plots and keep their proportions. A fifth choice, Results only, sends to the taskbar every plot of MES, the pictures and text output of R, the residue and deviation analyses and the residue files, and leaves the main results on the screen; choosing another entry brings them back. (22) Window that shows the graphs made by R: the Resize and Return buttons keep their distance from the right edge of the window, and Resize shows the graph with its own proportions, reduced when it would not fit on the screen. (23) Updated installer: the components MES no longer uses (vbDownloader, vbSendMail and the MAPI controls) are not installed, and the setup program is signed with a new certificate. (24) R scripts: the list of scripts now shows every R file (*.R), whether or not a file is open, from three places: the folder of the open dataset (.MES) or comparison (.MCS) file; the folder for your own scripts, Documents\NutritionModels\MES Files\MES4R for one dataset and MCS4R for the comparison of models, which MES creates when it starts; and the folder of the same name (MES4R or MCS4R) of the program. A script of your own no longer needs a name that begins with SingleCode or GroupCode. When the same name is in more than one place, the first place in that order is used. Before, the list of the main window was empty until a dataset file was opened, and the list of the comparison of models was empty once a comparison file was open. (25) The list of R engines shows the newest version of R first, and that one is preselected (the list was in alphabetical order, with the oldest R first). An R folder chosen by hand is still the one selected. (26) Six new R scripts. For one dataset: Bootstrap Intervals (confidence intervals of the evaluation statistics: intercept, slope, mean bias, MSEP and its parts, RMSEP, concordance correlation, modeling efficiency and others); Intercept and Slope Tests (joint F test of intercept 0 and slope 1 with its confidence ellipse, Deming and Passing-Bablok regressions for errors in both variables, and equivalence tests); Bland-Altman Differences (bias and limits of agreement with their confidence intervals, proportional bias, curvature, unequal spread and quantile regression of the differences). For the comparison of models: Accuracy Tests (paired tests of the squared and absolute errors, bootstrap intervals of the difference in RMSEP and concordance correlation, Williams' test of the correlations); Taylor and Target Diagrams; and Mixed Model with Files as Studies. (27) Comparison of models: an R script can now take each file of the comparison as a study or treatment of its own, with its own observed and model-predicted values, so the files need not have the same observed values. The new script Mixed Model with Files as Studies does this: the files read as treatments (fixed effect: do they differ in intercept and slope) and as studies or blocks (random effect: the mixed model of St-Pierre 2001, tests of intercept 0 and slope 1 adjusted for the study, the intraclass correlation, and the concordance correlation coefficient by variance components of Carrasco and Jover 2003, within the studies and over all of them), with conclusions for each reading and for the two together, and the observed values adjusted for the study. The other scripts of the comparison still need the same observed values in every file. (28) Templates for your own R scripts: MES4R_Template.R (one dataset) and MCS4R_Template.R (comparison of models) explain what a script receives from MES and what it must write, and run as they are. (29) Results folder: everything MES and R make from a dataset now goes to a folder beside the dataset file, named after the file and the day (for example Tedeschi et al. (2004)_2026-10-05): the results of Calculate (now also saved as a text file), the data written for R, the copy of each R script, the text, graph and log files of the scripts and the residue files. Before, all of them were saved beside the dataset. The list of R output files shows the files of that folder. (30) New Report button, in the main window and in the comparison of models: one web page with everything in the results folder, written in that folder and opened: a list of the analyses, the results of Calculate, the plots of MES (each saved in the results folder as a PNG picture when it is made, drawn at twice its size on the screen, and saved again when it was changed; a changed plot that is closed first asks whether to save its picture again), and each R script that was run, named by its code and its file (for example SC1: SingleCode1_Ordinary_LS_Regression.R), with its text and its graphs. The page begins with a summary: what Calculate and each R script found, in plain sentences with the number behind each one (your own scripts add theirs with mes_summary); and it ends with the data as a folded table. Pressing Report again after more analyses writes the page again with all of them. When no file is open, or the file has no results of the day, MES asks for the results folder to make the report from, so the report of an earlier day can be made again. (31) Plots saved with the Save button of a plot window (PNG or BMP) and plots sent to the printer are sharper: the chart is drawn again at three times (four for the printer) its size on the screen. Before, the picture was a copy of the screen stretched to twice its size. (32) The comparison of models window is always on top when "Always on top" is checked in the main window, and follows a change of that option while it is open. Before, it opened behind the main window. (33) New button All, beside R Script, in the main window and in the comparison of models: it runs every R script of the list, one after the other. The text and the graphs of each script are opened or not as the two display options of the R page say, and a script that asks questions uses its default values. The Report then shows all the results together. (34) A comparison file (.MCS) dropped on the grid or on the main window opens in the comparison of models, which is shown with the file loaded. Before, MES tried to read it as a dataset into the grid. (35) New licensing, the same as in RNS and GasFit. THIS VERSION MAY REQUIRE (RE)REGISTRATION DUE TO CHANGES IN THE LICENSING. This version has a new registration code. A registration made with an earlier version stays valid for 365 days from the day it was made: during that time MES starts as before, and the start-up report and the Register button of the About window tell until which date. After that date MES asks for the new registration code when it starts. The new code can be entered at any time before that: the Register button of the About window shows the registration and asks "Do you want to enter the new registration code for this version now?". (36) About window: a registration made with the Register button is shown at once. Before, the user, the company and the numbers appeared only after MES was started again. (37) Copyright 2002-2027 on the start-up screen and in the R scripts (MES began in 2002 as ModEval). (38) Balance analysis and orthogonal balance: the reference in the heading is now Tedeschi (2006), which has one author (it said Tedeschi et al., 2006). (39) Distance analysis: the heading now names its references, Legendre and Legendre (1998) and Kullback and Leibler (1951), in place of "(???)"; both were added to the list of references. (40) Comparison of models: the sample comparison files (Wallach and Goffinet (1989).MCS and N Analysis.MCS) open their datasets again; they held folders of Windows XP. A dataset listed in a comparison file that is not where the file says is now looked for, by its name, in the folder of the comparison file and then in Documents\NutritionModels\MES Files, and a comparison file may list the file names alone. (41) Command line: MES opens the dataset given with /F'path\file.MES', also when the path has spaces, parentheses or apostrophes, and with /F"path\file.MES"; before, it opened nothing. A .MES or .MCS file given alone, as Windows gives a file opened from the Explorer, is opened too, and a file that is not found is reported. The list of parameters in the About window now has /Y (open only) and /C (comparison file). (42) Kleijnen plot: the labels of the X axis are at the bottom of the plot. Before, they were drawn across the middle of it, at a difference of 0, over the points. (43) The setup shows the license agreement of the NutritionModels.com programs: the kinds of license (Student, Limited, and Flexible), their use, term and renewal are those of the NutritionModels.com Licensing Guidance and the Purchase page in effect at registration. It replaces a license text that named another company. (44) Kleijnen analysis: the reference of the information text is now Kleijnen, Bettonvil and Van Groenendaal (1998), Management Science 44:812-819, the paper of the method. It cited a paper that does not exist. The name Van Groenendaal is also corrected in the list of references. (45) Generalized concordance correlation coefficient: a method that has no valid result, which can happen with few data points, is shown as n.a. with a note under the table. Before, a winsorized coefficient could be outside -1 to 1 with a reversed confidence interval, and the results ended the section with an error 5 line (??). The 5th and 95th percentiles of the winsorized methods are also right now for data with negative values. (46) Messages of MES are always on top and in front. Before, a message could open behind another window (for example a graph opened by Windows at the end of All in the R scripts), and MES could not be clicked until it was found and answered. (47) New results window (results of Calculate, information of the plots, text of the R scripts): the zoom buttons, Ctrl and the mouse wheel, and Ctrl with + or - change the size of the text; new buttons to choose the font (fixed-width fonts, with its style and size) and the background color (the text turns white on a dark color), and to highlight the selected text in yellow (Ctrl+B, Ctrl+I and Ctrl+U make it bold, italic or underlined). The choices are kept for the next windows. Web addresses are links that open in the browser. Print and Copy keep the highlights, and Save asks whether to save the text (.txt), the text with the highlights (.rtf), or both. (48) Notes of the main window: the buttons of the results window (zoom, bold, font, background color and highlight of the selected text, with Ctrl+B, Ctrl+I and Ctrl+U), any font, and web addresses that open in the browser. The dataset file (.MES) keeps the notes with their highlights and marks, their font, size, background color and zoom; older versions of MES read the text of the notes as before. The notes no longer gain an empty line each time the file is saved. Save asks whether to save the text (.txt), the text with the highlights (.rtf), or both, and a rich text file (.rtf) can be opened into the notes. Ctrl+V and Ctrl+C in the notes no longer paste into the dataset or copy the dataset. (49) R scripts: the TIF choice of graph files is saved in the dataset file; the file kept the PNG choice in its place. (50) Options: new option Save start-up logs (on by default). Turned off, the report of the checks made at start-up is no longer kept in Documents\NutritionModels\MES Files\Logs; it can still be opened from the start-up screen. The options are aligned in two columns, and Add comments to output explains itself in its tip. (51) Main window: tips (shown when the mouse rests on a control) for the analyses, the options, the thresholds and limits, the histogram and the R script settings, and clearer tips for Calculate, Scalar and All. (52) Residual analysis: the limits of the Graphics page are used as they are typed or saved in the dataset file. Before, only the scroll bars changed the deviation and residual limits, the limits of the studentized deleted residues were always -2.5 and 2.5, and opening the Dataset page put the default limits back. With deviation limits and no probability, the probability shown is that of the limits (it was always 95%). The XY threshold of the threshold table may have decimals (it was rounded to a whole number). (53) Sample datasets: the notes of each file taken from a paper give its full citation, with the authors in bold, the journal in italics and the DOI, and a short paragraph on what the paper does and what the file holds. (54) Sample datasets: N Analysis - Dumas.MES and N Analysis - Kjeldahl.MES are now Etheridge et al. (1998) - Dumas.MES and - Kjeldahl.MES, with their citation in the notes (N Analysis.MCS lists the new names). New sample Buckee (1994) Tables VIII and IX.MES: total nitrogen of 8 barleys and 8 malts by the Kjeldahl (X) and Dumas (Y) methods in a collaborative trial, with the reproducibility standard deviations as SD X and SD Y. (55) A dataset or comparison file opened from Windows (double click) while MES is open asks whether to open it in a new MES window, so that two can be compared side by side, or in the MES already open. Before, it always went to the MES already open. (56) Two new samples on the rank analysis, from Cohen and Cohen (2008): the weights of walleye from two lakes (independent samples, where the Mann-Whitney test is the right test) and the midterm and final scores of the same students (paired data, where the Mann-Whitney test misses a difference that the paired tests find). Their notes explain which test to use. The tip of Rank analysis names its tests: Spearman, Kendall, Kolmogorov-Smirnov and Mann-Whitney. The sample Web sample of Mann-Whitney test.MES, whose source is not known, was removed. (57) New R script Rank Tests for one dataset: Spearman and Kendall correlations, the paired tests of the differences (Wilcoxon signed-rank with the Hodges-Lehmann estimate, sign test, paired t-test) and the unpaired ones (Mann-Whitney, Kolmogorov-Smirnov), with a note on which test answers which question, two graphs and its sentences in the summary of the report. The scripts of the main window are numbered 01 to 10, and those of the comparison of models 01 to 05, so the lists show them in order. (58) R script Robust Regression rewritten: Huber's M-estimator and the MM-estimator (robustbase, setting KS2014, suited to small samples) now test whether the line is Y = X (intercept 0 and slope 1, each alone and both together), as ordinary least squares does, with the joint confidence regions of the three in one graph. A new graph separates outliers from unusual model-predicted values (good and bad leverage points), and the summary of the report says whether the robust test agrees with the ordinary one. The R package robust is no longer needed. (59) MES 3.3.1 is the last version of MES 3. We recommend upgrading to MES 4, the new 64-bit version of MES: it can be installed beside MES 3, uses the same MES Files folder in Documents\NutritionModels, reads and writes .MES files, and carries the MES 3 registration over for 365 days. (60) Updates are checked and downloaded through Windows' own Internet connection (WinHTTP) instead of an external component, and the security certificate of the server is checked by Windows. The update window is the one of LRNS 1.3.1: Stop and Return work during a download, a failed download leaves no incomplete file, and its details are offered instead of opening by themselves. (61) New Error log box in the Options, beside Start-up logs (now on the same row): with it unticked, MES no longer writes MES errors.log. Both are on unless turned off. (62) Improved registration. 2025-07-23 (version 3.2.10) --------------------------- (1) Plots: the font of the title, the axis titles, the axis labels, the legend and the footnote can be changed, for several elements at once (Chart Font Settings) or by clicking one element. (2) Plots can be saved as PNG or BMP files and printed on a printer chosen by the user. (3) The Information window of each plot now explains how to read it (observed versus model-predicted, model-predicted versus observed, deviation plots, residual and studentized residual plots, normal probability plot, weighted deviance, Bland-Altman, Kleijnen et al., Spearman rank), with references. (4) Residual analysis: the residue data points can be shown in separate output windows and saved in separate TXT and CSV files. (5) Weighted deviation is reported in percent. (6) References added: Kutner et al. (2005), Mitchell (1997), Mitchell and Sheehy (1997), Neter et al. (1996), Tedeschi (2006). (7) Fixed minor bugs. (8) Updated installer (rebuilt on 2025-11-25). 2025-07-22 (version 3.2.9) -------------------------- (1) Plots: a logarithmic axis is switched off, with a warning, when the data contain values that are zero or negative. (2) Plots: improved calculation of the axis limits and of the tick intervals. 2025-03-10 (version 3.2.8) -------------------------- (1) Plots: logarithmic scale for the X and Y axes. (2) Plots: number format of the axis labels, and tick intervals rounded to convenient numbers. (3) User files are now kept in Documents\NutritionModels\MES Files (it was Documents\TAMU\MES Files). (4) The program is now published by NutritionModels; the contact address is nutritionmodels@gmail.com. (5) New installer. 2023-09-13 (version 3.2.7) -------------------------- (1) Added the ability to bypass registration. (2) R: the script that installs the R packages was rewritten, and the R check at the end of the installation looks for R in Program Files, Program Files (x86) and the user's AppData folder before offering to download it. 2023-07-03 (version 3.2.6) -------------------------- (1) The system information shows the memory and the processor of the computer. (2) Compatibility fix. 2023-07-02 (version 3.2.5) -------------------------- (1) R engines installed in the user's AppData folder (AppData\Local\Programs\R) are now found. (2) The Windows version is identified correctly on recent versions of Windows, including 64-bit and server editions. (3) Revised disclaimer and Splash Screen information. 2020-11-16 (version 3.2.4) -------------------------- (1) Results are sent by e-mail through Microsoft Outlook; the MAPI controls are no longer used. 2020-11-16 (version 3.2.3) -------------------------- (1) Improved the import of e-mail contacts from Microsoft Outlook. (2) The contact address changed to nutritionmodels@tamu.edu. 2019-08-23 (version 3.2.2) -------------------------- (1) Maintenance update. 2019-08-23 (version 3.2.1) -------------------------- (1) New tool to multiply the X or Y values by a number, or to multiply and then add a number. 2019-08-01 (version 3.2.0) -------------------------- (1) The update check and the download of new versions use a secure connection (https) to www.nutritionmodels.com. (2) The download window shows the date of the file on the server. (3) A warning is given when the installed version of Microsoft Outlook is not supported. 2019-07-04 (version 3.1.18) --------------------------- (1) R graphs can be saved as TIF files (high resolution), in addition to BMP, JPG and PNG. PNG and TIF graphs are opened by Windows. (2) All R scripts were revised: the size of the graphs is set at the top of each script, and missing R packages are installed with a choice of the download site. (3) New R scripts: Centered Residuals (SingleCode6), Model Agreement version 2 (SingleCode4), Correlation version 2 and Correlogram version 2 (GroupCode1 and GroupCode2). The earlier versions of these scripts and of the Robust Regression script are no longer installed. 2018-02-18 (version 3.1.17) --------------------------- (1) Maintenance update. 2015-11-07 (version 3.1.16) --------------------------- (1) Maintenance update; the program libraries were rebuilt. 2015-05-15 (version 3.1.15) --------------------------- (1) Model comparison: Akaike's Information Criterion is reported as AIC, AICc (corrected) and AICc' (Burnham et al., 2011). (2) The Microsoft components installed with MES were updated. 2015-03-29 (version 3.1.14) --------------------------- (1) The website, the update check and the links moved to nutritionmodels.com. (2) The start-up message tells 32-bit R engines apart. 2012-03-27 (version 3.1.13) --------------------------- (1) Corrected spelling in the results ("Empirical Distribution Function", "coefficient of model determination"). (2) Added the SAS program "CCC, TDI, and CP (Lin et al., 2007)" to the Extras folder. (3) The About window carries the notice on trademarks and public-domain algorithms. (4) The program libraries were updated. 2010-10-29 (version 3.1.12) --------------------------- (1) The update window shows the installed version beside the web version. (2) First version built on 64-bit Windows. 2010-05-12 (version 3.1.11) --------------------------- (1) The start-up screen tells how many R engines were found. 2010-05-08 (version 3.1.10) --------------------------- (1) Maintenance update (registration). 2010-05-02 (version 3.1.9) -------------------------- (1) MES looks for the installed R engines when it starts and lists them; the user chooses one from the list instead of locating RScript.exe by hand. (2) The start-up screen names each step (registration, interface, R engines, new version). (3) The system information tells 32-bit from 64-bit processors and recognizes Windows Vista. 2010-04-24 (version 3.1.8) -------------------------- (1) User files are now kept in Documents\TAMU\MES Files (it was Documents\MES Files). (2) The R packages are no longer installed with MES: each R script installs the packages it needs from the internet. R 2.11 or later is needed. (3) All R scripts were updated. 2010-04-17 (version 3.1.7) -------------------------- (1) The update window shows the version available on the web. 2010-03-01 (version 3.1.6) -------------------------- (1) Auto-update: MES checks the web for a newer version when it starts, and the new version can be downloaded from the About window. (2) Model comparison: notes explain the mean and the standard error of the pairwise MSEP analysis. 2010-01-27 (version 3.1.5) -------------------------- (1) The coefficient of variation of the MSEP is reported in percent. (2) Residual analysis: the number of influential points is reported, with notes on Cook's D and on the studentized residue. (3) Robust statistics: notes on Sn and Qn. 2009-11-05 (version 3.1.4) -------------------------- (1) "Analysis of Deviation" was renamed "Deviation Envelope". (2) Maintenance update (registration). 2008-12-17 (version 3.1.3) -------------------------- (1) Model comparison: the delta AIC follows Burnham and Anderson (2002) and says how many times one model is more likely to be correct than the other. (2) The calculation stops with a message when the X and Y values are identical. (3) R: a new R folder holds scripts that check for R and install its packages; packages robust and rrcov added; Robust Regression script version 3. 2008-10-26 (version 3.1.1) -------------------------- (1) Model comparison: revised explanation of the delta AIC. 2008-08-08 (version 3.1.0) -------------------------- (1) Robust statistics Sn and Qn (Croux and Rousseeuw, 1992; Rousseeuw and Croux, 1993). (2) Model comparison: Akaike's Information Criterion and delta AIC. (3) R graphs can be saved as BMP, JPG or PNG, and the R options are remembered. (4) New R scripts: Robust Regression version 2 and Cumulative Residuals. (5) New sample files for the comparison of models (N Analysis, Wallach and Goffinet, 1989). (6) New license and disclaimer. 2007-10-20 (version 3.0.10) --------------------------- (1) New Extras folder with SAS programs (correlations; CCC, TDI and CP of Lin et al.; weighted regression) and the tools FIT, FREQ, KAPPA, PAIRS and PVALUE. (2) New R script: Model Agreement. The Robust Regression script also fits regressions without intercept. (3) R packages robustbase and SciViews added. (4) E-mail contacts: check or uncheck all. 2007-10-19 (version 3.0.9) -------------------------- (1) E-mail contacts can be imported from Microsoft Outlook, selected, removed and saved. (2) R: after a script runs, MES can open the text and graph files it produced and show its log; the script template can be edited. (3) The Robust Regression script was rewritten. 2007-10-09 (version 3.0.8) -------------------------- (1) E-mail: a list of contacts is kept for sending results. 2007-10-02 (version 3.0.7) -------------------------- (1) Maintenance update. 2007-09-02 (version 3.0.6) -------------------------- (1) R: the messages of RScript are captured and can be shown as a log. (2) R: the scripts received descriptive names, and MES asks before replacing the R file of a dataset with the template. 2007-09-01 (version 3.0.5) -------------------------- First version 3 on record. (1) Model Comparison System (MCS): several models that predict the same observed values are compared at once (pairwise MSEP analysis of Wallach and Goffinet, 1989; pairwise correlation of deviations; concordance correlation among models; model adequacy indexes). (2) Connection to R: MES runs R scripts on the dataset and shows their text and graph results. Scripts for ordinary regression, robust regression, distributions, correlation and correlogram, and the R packages they need, are installed. (3) Results can be sent by e-mail. (4) Dataset: empty rows can be removed, the number of rows can be set, and the number of decimals can be chosen. (5) New sample files. 2007-05-10 (version 2.0.11) --------------------------- (1) Distance analysis: Kullback-Leibler distance and a note on the Minkowski distance (Hyde and Maier, 2006). 2007-04-18 (version 2.0.10) --------------------------- (1) Deviation analysis with confidence and prediction intervals (Freese, 1960; Reynolds, 1984). (2) Tests of normality: Anderson-Darling, Cramer-von Mises and Kolmogorov-Smirnov (Davis and Stephens, 1989), in addition to Shapiro-Wilk. (3) Notes: a text file can be opened into the notes, the notes can be saved, cleaned or edited in Notepad, and their font settings are saved with the dataset. (4) Dataset files have the extension .MES (it was .DAT) and can be saved under another name. (5) Options to keep the window always on top, to show the excluded points and to draw the Y = X line. (6) New sample files (Freese, 1960; Reynolds, 1984), the tool KAPPA and a guide to copy and paste data. 2006-08-14 (version 2.0.8) -------------------------- Earliest version on record.