
compute the De Vielder estimator, in other words, do the same function as DV
but returns more details about this estimator whereas DV
only compute the lambda
and mu of the De Vielder method
estimDV(fileName, toplot = TRUE, header = TRUE, ks = FALSE)
the file in which the simulated data will be stored
a logical variable to plot the result of this estimation
a logical for : has the input file an header
a logical for : do you want the Kolmogorv Smirnov test
a list of the following components
the CR risk constant calculated with the value of R
the risk constant estimated by this estimation
the vector of observations of the random variable T
the best estimation of lambda
the best estimation of mu
the estimation of the lambda of the De Vielder method (in this case the same value as lambdaHat)
the estimation of the mu of the De Vielder method (in this case the same value as mu)
# NOT RUN {
#res<-estimDV("data.rda",TRUE,TRUE)
# }
Run the code above in your browser using DataLab