get_lc_lambda: Get left continuous version of lambda process

Description Usage Arguments Value Examples

Description

The realized version of the lambda process in mhreal is right continuous version. If the left continuous version is needed, this function is applied.

Usage

1

Arguments

res

mhreal an S3 class contains the realized lambda processes.

Value

The left continuous version of lambda components as a matrix.

Examples

1
2
3
4
5
6
# Define the model.
MU1 <- 0.3; ALPHA1 <- 1.5; BETA1 <- 2
mhspec1 <- new("mhspec", MU=MU1, ALPHA=ALPHA1, BETA=BETA1)
# Simulate with mhsim funciton.
res1 <- mhsim(mhspec1,  n=100)
get_lc_lambda(res1)

ksublee/mHawkes documentation built on May 20, 2019, 5:26 p.m.