code: public static Map.Entry<Object, Object> maximumLikelihood(DataTable2D payoffMatrix, AssociativeArray eventProbabilities) {
          if(payoffMatrix.isValid()==false) {
              throw new IllegalArgumentException("The payoff matrix does not have a rectangular format.");
          }
          
          Map.Entry<Object, Object> eventEntry = MapMethods.selectMaxKeyValue(eventProbabilities);
          
          Object mostProbableEvent = eventEntry.getKey();
          //Double mostProbableEventProbability = Dataset.toDouble(eventEntry.getValue());
          
          return MapMethods.selectMaxKeyValue(payoffMatrix.get(mostProbableEvent));
      }
docs: Returns the best option and the payoff under maximumLikelihood strategy
  
  @param payoffMatrix
  @param eventProbabilities
  @return