NPP (version 0.1.0)

logCdelta: A Function to Interpolate \(logC(\delta)\) Based on Its Values on Selected Knots

Description

The function returns the interpolated value (a scalar) of \(logC(\delta)\) based on its results on selected knots, given input vector of \(\delta\).

Usage

logCdelta(delta, deltaknot, lCknot)

Arguments

delta

a scalar of the input value of \(\delta\).

deltaknot

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

lCknot

a vector of the values \(logC(\delta)\) on selected knots, coming from the function logCknot.

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; logCknot