Description Usage Arguments Value Author(s)
getTT_posterior_NDPM
1 | getTT_posterior_NDPM(fittedModel, XOc, XTr, Z, niter, burnin = 0, thin = 1)
|
fittedModel |
: model fits of the class 'BayesIV' |
XTr |
: a numeric matrix of covariates |
niter |
: number indicating the size of the MCMC sample |
thin |
: number to thin the MCMC chain with |
X0c |
: a numeric matrix of covariates (excluding the column with intercept) |
Z: |
A vector of instrumental variable |
burnin: |
number indicating burnin of the MCMC chain |
posterior chain of ATT
Sam Adhikari
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.