dlaplacelike2 {DiscreteLaplace} | R Documentation |
Log-likelihood function for the ADSL distribution
Description
Log-likelihood function (changed in sign) for the ADSL distribution.
Usage
dlaplacelike2(par, x)
Arguments
par |
the vector of parameters |
x |
a vector of observations from ADSL |
Value
The log-likelihood function with changed sign.
Author(s)
Alessandro Barbiero, Riccardo Inchingolo
References
A. Barbiero, An alternative discrete Laplace distribution, Statistical Methodology, 16: 47-67
See Also
Examples
p <- 0.25
q <- 0.7
x <- rdlaplace2(n=100, p, q)
par <- estdlaplace2(x, "ML")
-dlaplacelike2(par, x) # greater than...
-dlaplacelike2(c(p, q), x)
[Package DiscreteLaplace version 1.1.1 Index]