Heteroscedastic errors in regression analysis