Skip to contents

This function calculates the probability density function of the gamma distribution for a given sample mean.

Usage

d_sample_mean_g(x, n, mu, k)

Arguments

x

The sample mean

n

The sample size

mu

The mean of the gamma distribution

k

The shape parameter of the gamma distribution

Value

The probability density function value

Examples

d_sample_mean_g(x = 2, n = 10, mu = 5, k = 2)
#> [1] 0.001589715