Trials until the first hit, the geometric MLE
A quality-control bot keeps trying an operation until it first succeeds and records the number of attempts each time. Model each record as on , with . You have independent records .
Find the maximum likelihood estimate of the success probability .