Description Usage Arguments Value Author(s) Examples
mcmcRun_Normal: MCMC sampler for IV Analysis with Normal prior on the latent factors
1 | mcmcRun_Normal(Yobs, Tr, X, Z, niter)
|
Tr |
: Binary numeric vector of treatment indicator. |
X |
: numeric matrix of covariates of dimension n-By-p |
Z |
: numeric vector of instrumental variable of length n |
niter |
: number of MCMC sampler to be run |
Yobs: |
Input numeric vector of observed outcome of length n, can be binary or continuous. |
runModel : list of posterior samples for each parameter
: Sam Adhikari
1 | ## Not run: obj = mcmcRun_Normal(Yobs,Tr,X,Z,niter)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.