Gives the value of
$$L(\phi) = \sum_{i=1}^m w_i \phi(x_i) - \int_{x_1}^{x_m} \exp(\phi(t)) dt.$$
Local_LL(x, w, phi)
Vector of independent and identically distributed numbers, with strictly increasing entries.
Optional vector of nonnegative weights corresponding to \({\bold{x}_m}\).
Some vector \({\bold{\phi}}\) of the same length as \({\bold{x}}\) and \({\bold{w}}\).
Value \(L=L({\bold{\phi}})\) of the log-likelihood function is returned.