Pick a family and a chain length. Count how many hydrogen bonds the molecule can make, then check that count against the measured boiling point and the measured solubility in water.
An alkane has nothing polar to offer, so water molecules stay with each other instead.