run.mle.vam | R Documentation |
run.mle.vam
computes the Maximum Likelihood Estimator (MLE) of the parameters of a virtual age model for Corrective Maintenance (CM) and planned Preventive Maintenance (PM). It also updates the parameters values with those obtained by the optimization algorithm.
The optimization function used is optim
.
run.mle.vam(obj, par0, fixed, method=NULL, verbose=TRUE,...)
obj |
an object of class |
par0 |
an optional argument specifying the initial parameter values for the optimization algorithm.
If |
fixed |
an optional argument specifying the parameters for which the value is fixed to initialization. |
method |
an optimization method of |
verbose |
if |
... |
further arguments passed to the |
The method returns the results of the optim
function called inside the run
function.
L. Doyen and R. Drouilhet
coef.mle.vam
to extract the parameters value of the MLE.
contrast.mle.vam
to compute the contrast associated to the MLE.
logLik.mle.vam
to compute the log-likelihood.
simARAInf<-sim.vam( ~ (ARAInf(.4) | Weibull(.001,2.5)))
simData<-simulate(simARAInf,30)
mleARAInf <- mle.vam(Time & Type ~ (ARAInf(0.5) | Weibull(1,3)),data=simData)
run(mleARAInf)
mleARAInf2 <- mle.vam(Time & Type ~ (ARAInf(0.5) | Weibull(1,3)),data=simData)
run(mleARAInf2,fixed=c(FALSE,TRUE,FALSE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.