The article describes the estimation of a priori error associated with heterogeneous, non-correlated noise within one dataset. The errors are estimated by restricted maximum likelihood (REML). The solution is composed of a cross-validation technique named leave-one-out (LOO) and REML estimation of a priori noise for different groups obtained by LOO. A numerical test is the main part of this case study and it presents two options. In the first one, the whole data is split into two subsets using LOO, by finding potentially outlying data. Then a priori errors are estimated in groups for the better and worse subset, where the latter includes the mentioned outlying data. The second option was to select data from the neighborhood of each point and estimate two a priori errors by REML, one for the selected point and one for the surrounding group of data. Both ideas have been validated with the use of LOO performed only in points of the better subset from the first kind of test. The use of homogeneous noise in the two example sets leads to LOO standard deviations equal 1.83 and 1.54 mGal, respectively. The group estimation generates only small improvement at the level of 0.1 mGal, which can also be reached after the removal of worse points. The pointwise REML solution, however, provides LOO standard deviations that are at least 20 % smaller than statistics from the homogeneous noise application.