Local_LL_all {logcondens}R Documentation

Log-likelihood, New Candidate and Directional Derivative for L

Description

Computes the value of the log-likelihood function

L(ϕ)=i=1mwiϕ(xi)x1xmexp(ϕ(t))dt,L(\phi) = \sum_{i=1}^m w_i \phi(x_i) - \int_{x_1}^{x_m} \exp(\phi(t)) dt,

a new candidate for ϕ\phi via the Newton method as well as the directional derivative of ϕL(ϕ){\bold{\phi}} \to L({\bold{\phi}}) into that direction.

Usage

Local_LL_all(x, w, phi)

Arguments

x

Vector of independent and identically distributed numbers, with strictly increasing entries.

w

Optional vector of nonnegative weights corresponding to xm{\bold{x}_m}.

phi

Some vector ϕ{\bold{\phi}} of the same length as x{\bold{x}} and w{\bold{w}}.

Value

ll

Value L(ϕ)L(\phi) of the log-likelihood function at ϕ.\phi.

phi_new

New candidate for ϕ\phi via the Newton-method, using the complete Hessian matrix.

dirderiv

Directional derivative of ϕL(ϕ)\phi \to L(\phi) into the direction ϕnew.\phi_{new}.

Note

This function is not intended to be invoked by the end user.

Author(s)

Kaspar Rufibach, kaspar.rufibach@gmail.com,
http://www.kasparrufibach.ch

Lutz Duembgen, duembgen@stat.unibe.ch,
https://www.imsv.unibe.ch/about_us/staff/prof_dr_duembgen_lutz/index_eng.html


[Package logcondens version 2.1.8 Index]