deal with missing data before automatic selection of sigma_a