R/example-exponential.R
fit.exponential_lifetime.RdComputes the MLE directly as lambda_hat = d / T, bypassing optim.
This demonstrates that specialized models can provide exact solutions.
# S3 method for class 'exponential_lifetime'
fit(object, ...)A solver function that takes (df, par, ...) and returns a
fisher_mle object. The par argument is accepted but ignored
since the MLE is computed in closed form.