Description Usage Arguments Value References Examples
The function qlaplace returns the quantiles for the standard Laplace distribution which is discussed on page 77 of the text. Quantiles for this distribution are discussed on page 260, Example 4.4.6.
1 | qlaplace(ps)
|
ps |
a vector of floating point numbers between 0 and 1, of probabilites. |
returns a vector of quantiles for standard laplace distribution. For quantiles with probabilites less than .5 reported first and greater than .5 following them.
Hogg, R. McKean, J. Craig, A. (2018) Introduction to Mathematical Statistics, 8th Ed. Boston: Pearson.
1 2 3 4 5 6 7 8 9 | ps <- c(0.22, 0.93, 0.28)
qlaplace(ps)
## [1] -0.8209806 -0.5798185 1.9661129 the first element corresponds to the
## first element in ps, the second element corespomds to the third element in
## ps, and the third corespomds to the second element in ps becaue the order
## they are reported in
ps <- .9750
qlaplace(ps)
## [1] 2.995732
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.