calculateOneVariateLpst: calculateLpstOneVariate

Description Usage Arguments Details Value Author(s)

Description

Calculate the probability of count from time poinst s to t for one variate

Usage

1
calculateOneVariateLpst(lnb.dict, count.vec, t.grids)

Arguments

lnb.dict

see lnb.dict

count.vec

Integer vector, count data. each elements represent each observation

t.grids

Numeric vector, grid index of t.vec

Details

Based on probability values of grid points in lnb.dict, this calculate the probability values of specific time intervals of count.vec. This returns a matrix whose row and column represent initial and end points of each interval

Value

lpst Numeric matrix, log probability for each time interval

Author(s)

Yasuhiro Kojima


kojikoji/nbcf documentation built on June 16, 2019, 6:08 p.m.