caculate ssq missingvalue