Description Usage Arguments Details Value See Also Examples
Sample estimation of the parameters of the discrete inverse Weibull distribution
1 | estdiweibull(x, method="P", control=list())
|
x |
a vector of sample values |
method |
the estimation method that will be carried out: |
control |
a list of additional parameters:
|
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 ≤q 2. The method of moments cannot be applied for estimating β if all the sample values are ≤q 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 ≤q 2.
a vector containing the two estimates of q and β
1 2 3 4 5 6 7 8 9 10 | 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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.