On the approximation of the quadratic exponential distribution in a latent variable context