Modeling of uncertainties in statistical inverse problems