likgamma.Rd
The log likelihood of a gamma density with data, x, shape, rate and scale parameters.
likgamma(shape, rate = 1, scale = 1/rate, x, log = FALSE)
shape | shape and scale parameters. Must be positive,
|
---|---|
rate | an alternative way to specify the scale. |
scale | shape and scale parameters. Must be positive,
|
x | vector of quantiles. |
log | logical; if |
A numeric scalar for the log likelihood of the gamma density given the data where shape, scale, and rate can be held constant or if vector were given vector will be returned.
The log likelihood is the log of a function of parameters given the data.
#> Warning: specify 'rate' or 'scale' but not both#> Warning: specify 'rate' or 'scale' but not both#> [1] 0.01891286