1. A computer implemented method for automatically selecting an optimal control cohort, the computer implemented method comprising: selecting attributes based on patient data; clustering of treatment cohort records to form clustered treatment cohorts; scoring control cohort records to form potential control cohort members; and selecting the optimal control cohort by minimizing differences between the potential control cohorts members and the clustered treatment cohorts.