startbernweibull {qmap} | R Documentation |
Rough parameter estimate for the Bernoulli-Weibull distribution
Description
Estimates rough starting values for the Bernoulli-Weibull distribution
using the method of moments for the shape
and the scale
parameters. The probability of non-zero events is estimated as the
fraction of values that are larger than zero.
Usage
startbernweibull(x)
Arguments
x |
numeric vector. |
Value
A list containing:
prob |
probability of non-zero event. |
scale |
scale parameter of the weibull distribution. |
shape |
shape parameter of the weibull distribution. |
Note
In this package startbernweibull
is intended to be used in
conjunction with fitQmapDIST
(and
mledist
) with parameter distr="bernweibull"
.
Author(s)
Lukas Gudmundsson
See Also
fitQmapDIST
, bernweibull
,
fitdist
Examples
gg <- rbernweibull(n=300, prob=0.2, scale=1, shape=1)
startbernweibull(gg)
mledist(gg,"bernweibull",startbernweibull(gg))
[Package qmap version 1.0-4 Index]