The function returns the interpolated value (a scalar) of \(logC(\delta)\) based on its results on selected knots, given input vector of \(\delta\).
logCdelta(delta, deltaknot, lCknot)A sequence of the values, \(logC(\delta)\) on selected knots.
a scalar of the input value of \(\delta\).
a vector of the knots for \(\delta\). It should be selected before conduct the sampling.
a vector of the values \(logC(\delta)\) on selected knots, coming from the function logCknot.
Zifei Han hanzifei1@gmail.com
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.
loglikNormD0;
loglikBerD0;
logCknot