pew function

Calculate dynamic prediction error curve