This image shows the formula for the negative mean absolute error, which is the negative of the median of the list of all difference between the predicted and the true value.