estdiweibull {DiscreteInverseWeibull} | R Documentation |
Estimation of parameters
Description
Sample estimation of the parameters of the discrete inverse Weibull distribution
Usage
estdiweibull(x, method="P", control=list())
Arguments
x |
a vector of sample values |
method |
the estimation method that will be carried out: |
control |
a list of additional parameters:
|
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 \beta
if all the sample values are \leq 2
. The method of moments cannot be applied for estimating \beta
if all the sample values are \leq 2
; besides, it may return unreliable results since the first and second moments can be computed only if \beta>2
. The heuristic method cannot be applied for estimating \beta
if all the sample values are \leq 2
.
Value
a vector containing the two estimates of q
and \beta
See Also
Examples
n<-100
q<-0.5
beta<-2.5
# generation of a sample
x<-rdiweibull(n, q, beta)
# sample estimation through each of the implemented methods
estdiweibull(x, method="P")
estdiweibull(x, method="M")
estdiweibull(x, method="H")
estdiweibull(x, method="PP")