Note that the sum of the residuals within a random sample must be zero . The residuals are therefore not independent . Note that the sum of the residuals within a random sample is necessarily zero , and thus the residuals are necessarily not independent .