ll | R Documentation |
These functions calculate the log-likelihood of an IID sample for specific values of the distribution parameters. See Details.
ll(x, prm, distr, ...)
## S4 method for signature 'ANY,ANY,character'
ll(x, prm, distr, ...)
llbern(x, prob)
llbinom(x, size, prob)
llcat(x, prob)
llcauchy(x, location, scale)
lldirichlet(x, alpha)
llexp(x, rate)
llgamma(x, shape, scale)
llgeom(x, prob)
lllaplace(x, mu, sigma)
lllnorm(x, meanlog, sdlog)
llMultinom(x, size, prob)
llnbinom(x, size, prob)
llnorm(x, mean, sd)
llpois(x, lambda)
llunif(x, min, max)
llweib(x, shape, scale)
x |
numeric. A sample under estimation. |
prm |
numeric. A vector of the distribution parameters. |
distr |
A subclass of |
... |
extra arguments. |
location , alpha , mu , sigma , meanlog , sdlog , min , max , size , prob , shape , rate , scale , mean , sd , lambda |
numeric. Distribution parameters. |
The log-likelihood functions are provided in two forms: the ll<name>
distribution-specific version that follows the base R conventions, and the
S4 generic ll
.
Numeric. The value of the log-likelihood function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.