Sample estimation of the parameters of the discrete inverse Weibull distribution
estdiweibull(x, method="P", control=list())
Arguments
x: a vector of sample values
method: the estimation method that will be carried out: "P" method of proportion, "M" method of moments, "H" heuristic-maximum likelihood method, "PP" graphical method-probability plot
control: a list of additional parameters: eps, nmax for the method of moments; beta1, z, r, Leps for the heuristic method
Details
For a description of the methods, have a look at the reference. Note that they may be not applicable to some specific samples. For examples, the method of proportion cannot be applied if there are no 1s in the samples; it cannot be applied for estimating β if all the sample values are ≤2. The method of moments cannot be applied for estimating β if all the sample values are ≤2; besides, it may return unreliable results since the first and second moments can be computed only if β>2. The heuristic method cannot be applied for estimating β if all the sample values are ≤2.
Returns
a vector containing the two estimates of q and β
See Also
heuristic, Ediweibull
Examples
n<-100q<-0.5beta<-2.5# generation of a samplex<-rdiweibull(n, q, beta)# sample estimation through each of the implemented methodsestdiweibull(x, method="P")estdiweibull(x, method="M")estdiweibull(x, method="H")estdiweibull(x, method="PP")