Description Usage Arguments Value

Direct effect estimates and asymptotic variance.

1 |

`ypop` |
A matrix with rows corresponding to the potential outcome under control and treatment, and columns corresponding to the cluster-average propensity of treatment. |

`ypop_var` |
An 3-dimensional array, where the first two dimensions are equal to 2 and include the variance covariance matrix of the population average potential outcome for each alpha. Dimension 3 is alpha. |

`boots` |
The results of BootVar() function including estimates of the potential outcomes from the bootstrap samples. |

`alpha` |
The values of alpha we consider. If ypop has column names, alpha can be left null. |

`alpha_level` |
Numeric. The alpha level of the confidence intervals based on the quantiles of the bootstrap estimates. |

A matrix with rows including the estimate and variance of the direct effect and columns corresponding to alpha.

gpapadog/Interference documentation built on Oct. 17, 2018, 3:27 a.m.

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.