Non-linear fitting was applied to model the statistical tables used in two very common tests used to detect outliers: the Dixon and the Cochran tests. The Marquardt algorithm was used to find multiexponential approximations of the data. It was possible in this way to greatly reduce the number of values to be incorporated in software using these tests. The errors due to the models are in all cases smaller than the rounding errors of the tables. The original values can be easily recalculated using simple formulae which is far more convenient for a programmer than a table. This method also gives one the possibility of extrapolating the tables to a larger sample size.