On distributions with fixed marginals maximizing the joint or the prior default probability, estimation, and related results Journal of Statistical Planning and Inference