Source: https://themathcab.files.wordpress.com/2016/08/similarity-test-review-and-ansers.pdf