We selected the final models on the basis of mean absolute error and root mean square error when comparing predicted and observed values from the same population ( internal validity ) and from different trial populations ( external validity ) .