View source: R/example-exponential.R
| fit.exponential_lifetime | R Documentation |
Computes 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, ...)
object |
An exponential_lifetime model |
... |
Additional arguments (ignored) |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.