Replacement error function

Information: Replacement error function