Disclaimer: Note this is a simplified version of my actual problem. These are not my real data.
The set up
The hexbin plot shows mass and height of goats in Iceland. There are a few thousand samples.
I measure the mass and height of goats in Japan. These are shown by the red dots. There are far fewer samples.
The problem
My hypothesis is the measurements of the Japanese goats and the Icelandic goats are from the same underlying sample.
I was going to use the Kolmogorov-Smirnov two-sample test to test for this, but one of the distributions is far from continuous. I can just use a chi-square goodness of fit test either.
Is there a different test I can do to show goat_Japan = goat_iceland?
Dave pointed me along the right lines in a comment to the question, and cleared up some confusion. I believe I found an answer (with a Python script to do it) here.
p_value = stat_test(distA['Height], distA['Mass'], distB['Height'], distB['Mass'])
$\endgroup$