To define a preliminary script to aid in future studies wherein larger data sets can be made of use and applied to the necessary context, a listing is provided below.  This shows a  preliminary Java code for automatic comparison of large demographic data sets, which has the versatility to be applied for any size of data analysis.  It should be noted, however, that certain attributes of this code may need to be adjusted for the specifics of the study to improve efficiency.