dw.parest | R Documentation |
Estimation of the parameters q and beta of a discrete Weibull distribution
dw.parest(data,method,method.opt)
data |
Vector of observations |
method |
Either "likelihood" or "proportion" |
method.opt |
Optimization criterion used in maxLik (default is "NR") |
If method="likelihood", the parameters q and beta are estimated by maximum likelihood.
If method="proportion", the method of Araujio Santos and Fraga Alves (2013) is used, based on count frequencies.
The function returns the parameter estimates of q and beta.
Veronica Vinciotti
Araujo Santos P, Fraga Alves M. Improved shape parameter estimation in a discrete Weibull model. Recent Developments in Modeling and Applications in Statistics . Studies in Theoretical and Applied Statistics. Springer-Verlag, 2013; 71-80.
x<-rdw(1000,q=0.9,beta=1.5)
dw.parest(x) #maximum likelihood estimates
dw.parest(x,method="proportion") #proportion estimates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.