Learn R Programming

imPois (version 0.0.7.5)

evfn: Expected Value of Canonical Variable

Description

Expected value of canonical variable is computed using integrate function.

Usage

evfn(y, pars)
evfn.ztrunc(y, pars)
mh.ztrunc(y, pars, len.chain = 10000, len.burnin = 1000)
lapprox.ztrunc(y, pars, const)

Arguments

y
a vector of observations
pars
a numeric vector of parameters
len.chain
a length of MH chain
len.burnin
a length of burn-in period
const
adjustment constant