A Function to Interpolate Based on Its Values on Selected Knots
The function returns the interpolated value (a scalar) of based on its results on selected knots, given input vector of .
logCdelta(delta, deltaknot, lCknot)
delta
: a scalar of the input value of .deltaknot
: a vector of the knots for . It should be selected before conduct the sampling.lCknot
: a vector of the values on selected knots, coming from the function logCknot
.A sequence of the values, on selected knots.
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
Useful links