NHPP-class: S4 class of model informations for non-homogeneous Poisson...

Description Slots Examples

Description

Informations of NHPP with cumulative intensity function Λ(t, ξ).

Slots

xi

parameter ξ

Lambda

function Λ(t,ξ)

priorDensity

prior density function for ξ

start

list of starting values for the Metropolis within Gibbs sampler

Examples

1
2
3
4
5
6
parameter <- list(xi = c(2, 0.2))
Lambda <- function(t, xi) (t / xi[2])^xi[1]
priorDensity <- function(xi) dgamma(xi, c(2, 0.2), 1)
start <- parameter
model <- set.to.class("NHPP", parameter, start = start, Lambda = Lambda,
   priorDensity = priorDensity)

BaPreStoPro documentation built on May 30, 2017, 7:08 a.m.

Search within the BaPreStoPro package
Search all R packages, documentation and source code