estimNonParam {rhosp} | R Documentation |
estimParam compute the parametric estimation of the first model on the input file
containing the stay duration Xi and the side effect reporting Zi. this estimator of R (and not mu)
is the smallest root of the equation (*) : P(Zi=0)E[exp(-RXi)/Zi=0]=1
estimNonParam(fileName, toplot = TRUE, header = TRUE, ks = FALSE, DV = FALSE)
fileName |
the file in which the simulated data will be stored |
toplot |
a logical variable to plot the result of this estimation |
header |
a logical for : has the input file an header |
ks |
a logical for : do you want the Kolmogorv Smirnov test |
DV |
a logical for : do you want to calculate the De Vielder estimation |
a list of the following components
CR |
the CR risk constant calculated with the value of R |
R |
the risk constant estimated by this estimation |
T |
the vector of observations of the random variable T |
lambdaHat |
the best estimation of lambda : the ESBVM of lambda |
muHat |
not available with this estimation |
lambdaEmp |
the estimation of the lambda of the De Vielder method (only available if |
muEmp |
the estimation of the mu of the De Vielder method (only available if |
Christophe Dutang and Julie Barthes
#res<-estimDV("data.rda",TRUE,TRUE)