Selection bias occurs when the sample obtained is not representative of the population intended to be analysed.