Description Usage Arguments Value Author(s) References See Also Examples
Log-likelihood function (changed in sign) for the ADSL distribution.
1 | dlaplacelike2(par, x)
|
par |
the vector of parameters (p,q) |
x |
a vector of observations from ADSL |
The log-likelihood function with changed sign.
Alessandro Barbiero, Riccardo Inchingolo
A. Barbiero, An alternative discrete Laplace distribution, Statistical Methodology, 16: 47-67
1 2 3 4 5 6 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.