code: public static AssociativeArray normalDistributionGetParams(FlatDataCollection flatDataCollection) {
          AssociativeArray params = new AssociativeArray();
          params.put("mean", Descriptives.mean(flatDataCollection));
          params.put("variance", Descriptives.variance(flatDataCollection, true));
          return params;
      }
docs: Estimate Parameters of Normal based on Sample. This method is called via reflection.
  
  @param flatDataCollection
  @return