function [PRED] = pred(mre, thresh)

[n,junk] = size(mre);
k = 0;
for i = 1 : n
		if (mre(i) < thresh)
				k = k + 1;
		end
end

PRED = k / n;