ThetaAdditive: Additive intensity function theta(t)

View source: R/ThetaAdditive.R

ThetaAdditiveR Documentation

Additive intensity function \theta(t)

Description

Calculates the additive intensity function \theta(t) introduced in Ramezan et al. (2014).

Usage

ThetaAdditive(t, f, w0, eta, gamma, terminal.points, ct)

Arguments

t

a numeric vector of time points at which to evaluate the function.

f

a numeric vector containing frequency values.

w0

a numeric vector containing initial phase values.

eta

a numeric vector containing \eta values (contribution of each periodic component to the intensity function).

gamma

a numeric vector containing \gamma values (amplitude of each periodic component in the function).

terminal.points

a numeric vector containing the endpoints of the dyadic partitioning.

ct

a numeric vector containing the estimated piecewise constant intensity function c(t). The length of ct should be a whole number power of 2.

Value

A numeric vector containing the values of the additive intensity function calculated at given time points.

References

Ramezan, R., Marriott, P., and Chenouri, S. (2014), Statistics in Medicine, 33(2), 238-256. doi: 10.1002/sim.5923.


dpwynne/mmnst documentation built on Aug. 1, 2023, 8:08 a.m.