post.theta {SurrogateBMA}R Documentation

Generates posterior samples of the parameters

Description

Provides a function to generate MCMC samples of p(theta_m | M = m, Data).

Usage

post.theta(Y, S, A, m, nmc = 500, prior.para = NULL)

Arguments

Y
S
A
m
nmc
prior.para

Value

a numeric matrix; each row contains a MC sample from the posterior of the parameters given a certain model.

Author(s)

Yunshan Duan

References

Duan, Y. and Parast, L., 2023. Flexible evaluation of surrogate markers with Bayesian model averaging. Statistics in Medicine.


[Package SurrogateBMA version 1.0 Index]