Editing and imputation for quantitative survey data