Replicated errors for regression from complex samples