AT can be used to calculate the treatment effect of a binary or continuous endogenous predictor/treatment, with
corresponding interval obtained using posterior simulation.AT(x, nm.end, E = TRUE, treat = TRUE, type = "bivariate", ind = NULL, n.sim = 100, prob.lev = 0.05, length.out = NULL, hd.plot = FALSE, te.plot = FALSE, main = "Histogram and Kernel Density of Simulated Average Effects", xlab = "Simulated Average Effects", ...)SemiParBIVProbit object as produced by SemiParBIVProbit().TRUE then AT calculates the sample ATE. If FALSE then it calculates the sample AT
for the treated individuals only.TRUE then AT calculates the AT using the treated only. If FALSE then it calculates the effect on
the control group. This only makes sense if E = FALSE."naive" (the effect is calculated ignoring the presence of observed and unobserved
confounders), "univariate" (the effect is obtained from the univariate model
which neglects the presence of unobserved confounders) and "bivariate" (the effect is obtained from
the bivariate model which accounts for observed and unobserved confounders).ind
when some observations are excluded from the AT calculation (e.g., when using E = FALSE).delta = FALSE. It may be increased if more precision is required.TRUE then a plot of the histogram and kernel density estimate of the simulated average effects is produced. This can
only be produced when when binary responses are used.TRUE then a plot
showing the treatment effects that the binary outcome is equal to 1 for each incremental value of the endogenous variable
and respective intervals is produced.hd.plot = TRUE.AT measures the average difference in outcomes under treatment (the binary predictor or treatment assumes value 1) and under control (the binary treatment assumes value 0). Posterior simulation is used to obtain a confidence/credible interval. See the references below for details.
AT can also calculate the effect that a continuous endogenous variable has on a binary outcome. In this case the effect will depend on the unit increment chosen (as shown by the plot produced).
Marra G. and Radice R. (2011), Estimation of a Semiparametric Recursive Bivariate Probit in the Presence of Endogeneity. Canadian Journal of Statistics, 39(2), 259-279.
SemiParBIVProbit-package, SemiParBIVProbit, summary.SemiParBIVProbit
## see examples for SemiParBIVProbit
Run the code above in your browser using DataLab