dlaplacelike: Log-likelihood function for the ADSL distribution

Description Usage Arguments Value Author(s) References See Also Examples

Description

Log-likelihood function (changed in sign) for the ADSL distribution.

Usage

1

Arguments

par

the vector of parameters (p,q)

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

estdlaplace2, ddlaplace2

Examples

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)

DiscreteLaplace documentation built on May 2, 2019, 5:52 a.m.