Construct and calibrate a Bayesian network from survey data