View source: R/invgaussian_couplings.R
dinvgaussian | R Documentation |
Computes log-pdf at x > 0 of inverse Gaussian with given parameters mu, lambda, given by
0.5 * log(λ/(2*π)) - 1.5 * log(x) - λ * (x-μ)^2 / (2 * μ^2 * x)
dinvgaussian(x, mu, lambda)
A vector of n log-pdf values, one for each element in the first argument 'x'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.