Skip to contents

This function calculates the probability density function (PDF) of the inverse Gaussian distribution.

Usage

d_sample_mean_ig(x, n, mu, lambda)

Arguments

x

The value at which to evaluate the PDF.

n

The number of observations.

mu

The mean parameter of the distribution.

lambda

The shape parameter of the distribution.

Value

The PDF value at the given x.

Examples

d_sample_mean_ig(x = 2, n = 10, mu = 1, lambda = 2)
#> [1] 0.004250183