private double[] dichotStringToDouble(String[] responses){
        boolean test0 = false;
        int n = responses.length;
        double[] converted = new double[n];
        for(int i=0; i<n; i++){
            boolean test1= false;
            for(int j=0; j<this.nDichotomousS; j=j+2){
                if(responses[i].equalsIgnoreCase(this.dichotomousS[j]))test1 = true;
            }
            if(test1){
                converted[i] = 1.0;
            }
            else{
                converted[i] = -1.0;
            }
        }     
        return converted;
    }