arch.tex connect bayes factor to a full generative model