A Function to Calculate on Selected Knots
The function returns a sequence of the values, on selected knots, given input vector of .
logCknot(deltaknot, llikf0)
deltaknot
: a vector of the knots for . It should be selected before conduct the sampling.llikf0
: a matrix of the log-likelihoods of class "npp".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
; logCdelta
Useful links