Statistical properties of the single mediator model with latent variables in the bayesian framework