Edlaplace2: First- and second-order moments of ADSL

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

Description

First- and second-order moment of the ADSL distribution.

Usage

1

Arguments

p

the first parameter p, in (0,1), of the ADSL

q

the first parameter q, in (0,1), of the ADSL

Details

For the ADSL distribution,

E(X;p,q)=\frac{\log q}{\log(pq)}\frac{p}{1-p}-\frac{\log p}{\log(pq)}\frac{1}{1-q}

and

E(X^2;p,q)=\frac{\log q}{\log(pq)}\frac{p(1+p)}{(1-p)^2}+\frac{\log p}{\log(pq)}\frac{1+q}{(1-q)^2}

Value

A list containing the first- and the second-order moments of the ADSL distribution, E1 and E2.

Author(s)

Alessandro Barbiero, Riccardo Inchingolo

References

A. Barbiero, An alternative discrete Laplace distribution, Statistical Methodology, 16: 47-67

See Also

estdlaplace2, loss, ddlaplace2

Examples

1
2
3
4
Edlaplace2(p=0.3, q=0.3)
Edlaplace2(p=0.3, q=0.6)
Edlaplace2(p=0.6, q=0.3)
Edlaplace2(p=0.6, q=0.6)

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