SetupLikelihoods: Setup likelihood function

View source: R/SetupLikelihoods.R

SetupLikelihoodsR Documentation

Setup likelihood function

Description

Create a list of common parameters necessary to calculate likelihood functions for additive and multiplicative models.

Usage

SetupLikelihoods(terminal.points)

Arguments

terminal.points

a numeric vector containing the endpoints of the dyadic partitioning

Value

A list of length 5 is returned. The list contains the following scalars:

DeltaDi: the delta D value in the likelihood derivation; see Ramezan et al. (2014).

Di.1: the first Di value in the likelihood derivation; see Ramezan et al. (2014).

Di.0: the initial Di value in the likelihood derivation; see Ramezan et al. (2014).

T.data: The length of the data recording window.

J: The resolution based on which the piecewise constant intensity function c(t) has been estimated.

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.