We model the stochastic attenuation by HI absorbers in the intergalactic medium (IGM), such as Lyα Forest clouds, and absorbers associated with galaxies, such as Lyman Limit systems (LLS) and Damped Lyman Alpha absorbers (DLAs), and compute an ensemble of 4 · 103 attenuated Spectral Energy Distributions (SEDs) in the Johnson system for the spectrum of a galaxy with a constant star formation rate (CSFR). Using these, we asses the impact of the stochastic attenuation on the estimates of photometric redshifts for this type of galaxy by comparison with model SEDs that include only a mean attenuation.