simulate attenuation bias in 1d case