NPP (version 0.1.0)

logCknot: A Function to Calculate \(logC(\delta)\) on Selected Knots

Description

The function returns a sequence of the values, \(logC(\delta)\) on selected knots, given input vector of \(\delta\).

Usage

logCknot(deltaknot, llikf0)

Arguments

deltaknot

a vector of the knots for \(\delta\). It should be selected before conduct the sampling.

llikf0

a matrix of the log-likelihoods of class "npp".

Value

A sequence of the values, \(logC(\delta)\) on selected knots.

References

Ibrahim, J.G., Chen, M.-H., Gwon, Y. and Chen, F. (2015). The Power Prior: Theory and Applications. Statistics in Medicine 34:3724-3749.

Duan, Y., Ye, K. and Smith, E.P. (2006). Evaluating Water Quality: Using Power Priors to Incorporate Historical Information. Environmetrics 17:95-106.

See Also

loglikNormD0; loglikBerD0; logCdelta