Constructor of Hawkes model
'setHawkes
' constructs an object of class yuima.Hawkes
that is a mathematical description of a multivariate Hawkes model
setHawkes(lower.var = "0", upper.var = "t", var.dt = "s", process = "N", dimension = 1, intensity = "lambda", ExpKernParm1 = "c", ExpKernParm2 = "a", const = "nu", measure = NULL, measure.type = NULL)
lower.var
: Lower bound in the integralupper.var
: Upper bound in the integralvar.dt
: Time variableprocess
: Counting processdimension
: An integer that indicates the components of the counting processintensity
: Intensity ProcessExpKernParm1
: Kernel parametersExpKernParm2
: Kernel parametersconst
: Constant term in the intensity processmeasure
: Jump size. By default 1measure.type
: Type. By default code
.By default the object is an univariate Hawkes process
The function returns an object of class yuima.Hawkes
.
YUIMA Team
## Not run: # Definition of an univariate hawkes model provaHawkes2<-setHawkes() str(provaHawkes2) # Simulation true.par <- list(nu1=0.5, c11=3.5, a11=4.5) simprv1 <- simulate(object = provaHawkes2, true.parameter = true.par, sampling = setSampling(Terminal =70, n=7000)) plot(simprv1) # Computation of intensity lambda1 <- Intensity.PPR(simprv1, param = true.par) plot(lambda1) # qmle res1 <- qmle(simprv1, method="Nelder-Mead", start = true.par) summary(res1) ## End(Not run)