Edlaplace {DiscreteLaplace} | R Documentation |
Moments of the discrete Laplace distribution
Description
The function provides the expected value and the variance of the SDL, and the expectation of its absolute value.
Usage
Edlaplace(p, q)
Arguments
p |
the first parameter, in |
q |
the second parameter, in |
Details
,
,
Value
A list of three items:
E1 |
expected value |
E1a |
expectation of the absolute value |
V |
variance |
Author(s)
Alessandro Barbiero, Riccardo Inchingolo
References
T. J. Kozubowski, S. Inusah (2006) A skew Laplace distribution on integers, Annals of the Institute of Statistical Mathematics, 58: 555-571
See Also
Examples
# ex.1
p<-0.5
q<-0.4
Edlaplace(p, q)
# ex.2
p<-0.1
q<-0.9
Edlaplace(p, q)
[Package DiscreteLaplace version 1.1.1 Index]