evalZdensity: Evaluate the (negative log) unnormalized marginal z density...

Description Usage Arguments Value

View source: R/evalZdensity.R

Description

Based on the result list from glmBayesMfp, for the first model in the list, the marginal z density can be evaluated.

Usage

1
2
3
4
5
6
7
8
evalZdensity(
  config,
  object,
  zValues,
  conditional = FALSE,
  debug = FALSE,
  higherOrderCorrection = FALSE
)

Arguments

config

the configuration of a single GlmBayesMfp model. The null model is not allowed. It is interpreted in the context of object.

object

the GlmBayesMfp object

zValues

the z values

conditional

return the approximate *conditional* density f(y | z)? (not default)

debug

print debugging information? (not default)

higherOrderCorrection

should a higher-order correction of the Laplace approximation be used? (not default)

Value

the negative log marginal unnormalized density values at the zValues. (Note the words “negative”, “log”, and “unnormalized” !!!)


glmBfp documentation built on July 2, 2020, 2:30 a.m.