Density estimation using an auxiliary sample of pure errors

density and random generation for the Laplace distribution of mean `'mu'`

and scale
parameter `'b'`

1 2 |

`x` |
vector of quantiles. |

`n` |
number of observations. |

`mu` |
mean. Should be a single value. Defaults to 0. |

`b` |
scale. Should be a single value. Defaults to 1. |

The Laplace density function is parameterized as:

*exp(-|x-mu|/b)/(2b)*

Returns a vector of `n`

draws from a Laplace distribution

Julien Stirnemann <j.stirnemann@gmail.com>

1 2 3 4 5 6 7 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.