Probabilistic reasoning and combinatorial analysis