preliminary implementation of the multisubject posterior probability