Compute maximum likelihood estimates for complete and censored data
A sample (possibly with right-censoring or truncation) is given and you must derive the MLE for one or two parameters of a named distribution.
Write the likelihood as the product of densities for fully observed values and survival functions for right-censored values. Take the log and differentiate; set the score equal to zero. For two-parameter distributions, this gives a system you may need to solve numerically — for some distributions like exponential, the MLE has a closed form. Always verify the second-order condition (or argue concavity of the log-likelihood).
L(θ) = Π [f(x_i; θ)]^{δ_i} [S(x_i; θ)]^{1 - δ_i} for right-censoring indicator δ_i.