View source: R/SurrogateBMA_functions.R
post.theta | R Documentation |
Provides a function to generate MCMC samples of p(theta_m | M = m, Data).
post.theta(Y, S, A, m, nmc = 500, prior.para = NULL)
Y |
|
S |
|
A |
|
m |
|
nmc |
|
prior.para |
a numeric matrix; each row contains a MC sample from the posterior of the parameters given a certain model.
Yunshan Duan
Duan, Y. and Parast, L., 2023. Flexible evaluation of surrogate markers with Bayesian model averaging. Statistics in Medicine.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.