mcmcRun_Normal: mcmcRun_Normal: MCMC sampler for IV Analysis with Normal...

Description Usage Arguments Value Author(s) Examples

Description

mcmcRun_Normal: MCMC sampler for IV Analysis with Normal prior on the latent factors

Usage

1
mcmcRun_Normal(Yobs, Tr, X, Z, niter)

Arguments

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.

Value

runModel : list of posterior samples for each parameter

Author(s)

: Sam Adhikari

Examples

1
## Not run: obj = mcmcRun_Normal(Yobs,Tr,X,Z,niter)

SamAdhikari/BayesIV_0.1 documentation built on May 24, 2019, 8:50 a.m.