bayes_mapvar
