jointditribution calculated