Learn R Programming

logcondens (version 2.0.6)

Local_LL: Value of the Log-Likelihood Function L, where Input is in Phi-Parametrization

Description

Gives the value of $$L(\phi) = \sum_{i=1}^m w_i \phi(x_i) - \int_{x_1}^{x_m} \exp(\phi(t)) dt.$$

Usage

Local_LL(x, w, phi)

Arguments

x
Vector of independent and identically distributed numbers, with strictly increasing entries.
w
Optional vector of nonnegative weights corresponding to ${\bold{x}_m}$.
phi
Some vector ${\bold{\phi}}$ of the same length as ${\bold{x}}$ and ${\bold{w}}$.

Value

  • Value $L=L({\bold{\phi}})$ of the log-likelihood function is returned.