The probability of treatment induced drug resistance