fit.exponential_lifetime: Closed-form MLE for exponential_lifetime

View source: R/example-exponential.R

fit.exponential_lifetimeR Documentation

Closed-form MLE for exponential_lifetime

Description

Computes the MLE directly as lambda_hat = d / T, bypassing optim. This demonstrates that specialized models can provide exact solutions.

Usage

## S3 method for class 'exponential_lifetime'
fit(object, ...)

Arguments

object

An exponential_lifetime model

...

Additional arguments (ignored)

Value

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.


likelihood.model documentation built on March 19, 2026, 9:07 a.m.