Learn R Programming

emhawkes (version 0.9.0)

logLik,hspec-method: Compute the loglikelihood function

Description

The loglikelihood of the ground process of the Hawkes model. (The estimation for jump distribution is not provided.)

Usage

# S4 method for hspec
logLik(object, inter_arrival, type = NULL, mark = NULL,
  N0 = NULL, lambda0 = NULL)

Arguments

object

hspec-class. The parameter values in the object are used to compute the log-likelihood.

inter_arrival

inter-arrival times of events. Includes inter-arrival for events that occur in all dimensions. Start with zero.

type

a vector of dimensions. Distinguished by numbers, 1, 2, 3, and so on. Start with zero.

mark

a vector of mark (jump) sizes. Start with zero.

N0

the initial value of N

lambda0

the initial values of lambda component. Must have the same dimensional matrix with hspec.

See Also

hspec-class, hfit,hspec-method