Statistical methods to support diagnosing rare diseases