Description Usage Arguments Value Note Author(s) See Also Examples
Estimates rough starting values for the Bernoulli-Log-Normal distribution
using the method of moments for the meanlog
and the sdlog
parameters. The probability of non-zero events is estimated as the
fraction of values that are larger than zero.
1 |
x |
numeric vector. |
A list containing:
prob |
probability of non-zero event. |
meanlog |
meanlog parameter of the Log-Normal distribution. |
sdlog |
sdlog parameter of the Log-Normal distribution. |
In this package startbernlnorm
is intended to be used in
conjunction with fitQmapDIST
(and mledist
)
with parameter distr="bernlnorm"
.
Lukas Gudmundsson
fitQmapDIST
, bernlnorm
,
fitdist
1 2 3 | gg <- rbernlnorm(n=300, prob=0.2, meanlog=1, sdlog=1)
startbernlnorm(gg)
mledist(gg,"bernlnorm",startbernlnorm(gg))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.