
Perform the BPS sampling from posterior and posterior predictive given a set of stacking weights
BPS_post_MvT.RdPerform the BPS sampling from posterior and posterior predictive given a set of stacking weights
Arguments
- data
list two elements: first named \(Y\), second named \(X\)
- X_u
matrix unobserved instances covariate matrix
- priors
list priors: named \(\mu_B\),\(V_r\),\(\Psi\),\(\nu\)
- coords
matrix sample coordinates for X and Y
- crd_u
matrix unboserved instances coordinates
- hyperpar
list two elemets: first named \(\alpha\), second named \(\phi\)
- W
matrix set of stacking weights
- R
integer number of desired samples
Value
list BPS posterior predictive samples