Statistics for A variance shift model for outlier detection and estimation in linear and linear mixed models