Ajdweibull(X, starts = list(shape = 1, scale = 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]weibull functions to evaluate the density, the quantiles, and the cumulative distribution or generate pseudo random numbers from the weibull distribution.Ajdchisq Adjustment By Chi-Squared Distribution,Ajdexp Adjustment By Exponential 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,Ajdbeta Adjustment By Beta Distribution.X <- rweibull(100,2,1)
Ajdweibull(X, starts = list(shape = 1, scale = 1), leve = 0.95)Run the code above in your browser using DataLab