Learn R Programming

DWreg (version 2.0)

dw.parest: Parameter estimation for discrete Weibull

Description

Estimation of the parameters q and beta of a discrete Weibull distribution

Usage

dw.parest(data,method,method.opt)

Arguments

data
Vector of observations
method
Either "likelihood" or "proportion"
method.opt
Optimization criterion used in maxLik (default is "NR")

Value

Details

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.

References

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.

Examples

Run this code
x<-rdw(1000,q=0.9,beta=1.5)
dw.parest(x) #maximum likelihood estimates
dw.parest(x,method="proportion") #proportion estimates

Run the code above in your browser using DataLab