OutSamples: Posterior Samples of the Outcomes

Description Usage Arguments Value

View source: R/func_outsamples.R

Description

Obtain posterior samples of the outcomes, E[Y1] and E[Y0].

Usage

1
OutSamples(obj1, obj0, q)

Arguments

obj1

The observed data under Z=1

obj0

The observed data under Z=0

q

A dimension of the observed data, i.e., number of covariates plus 2

Value

Y1 Posterior samples of E[Y1]

Y0 Posterior samples of E[Y0]

TMean The posterior mean of the total effect

TCI 95% C.I. of the total effect


BNPMediation documentation built on July 7, 2017, 9:02 a.m.