Statistical Study of Chemical Structure Similarity Based on Binary Data