Statistics for On the Relationship between Sum-Product Networks and Bayesian Networks