OutSamples: Posterior Samples of the Outcomes

Description Usage Arguments Value

View source: R/OutSamples.R

Description

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

Usage

1
OutSamples(obj1, obj0, q)

Arguments

obj1

The fitted model of the observed data under Z=1 from DPdensity

obj0

The fitted model of the observed data under Z=0 from Dpdensity

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


lit777/BNPMediation documentation built on May 23, 2019, 9:33 a.m.