Ajdexp(X, starts = list(lambda = 1), leve = 0.95)optim optimizer is used to find the minimum of the negative log-likelihood. An approximate covariance matrix for the parameters is obtained by inverting the Hessian matrix at the optimum.
For more detail consulted mle,confint,AIC.
R has the [dqpr]exp functions to evaluate the density, the quantiles, and the cumulative distribution or generate pseudo random numbers from the exponential distribution.Ajdchisq Adjustment By Chi-Squared Distribution,Ajdf Adjustment By F Distribution,
Ajdgamma Adjustment By Gamma Distribution,Ajdlognorm Adjustment By Log Normal Distribution,
Ajdnorm Adjustment By Normal Distribution,Ajdt Adjustment By Student t Distribution,
Ajdweibull Adjustment By Weibull Distribution,Ajdbeta Adjustment By Beta Distribution.X <- rexp(100,15)
Ajdexp(X, starts = list(lambda = 1), leve = 0.95)Run the code above in your browser using DataLab