Ejemplares similares: A novel approach to stochastic input-output modeling