private double pOfV(ArrayList<ArrayList<String>> d, String value, int index) {
        double p;
        int count = 0;
        int total = d.size();
        for (ArrayList<String> aD : d) {
            if (aD.get(index).equals(value)) {
                count++;
            }
        }
        p = DecimalCalculate.div(count, total, 3);
        return p;
    }