Description Usage Arguments Value

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

1 | ```
OutSamples(obj1, obj0, q)
``` |

`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 |

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.