AT can be used to calculate the sample average treatment effect of a binary endogenous predictor/treatment, with
corresponding interval obtained using the delta method or posterior simulation.AT(x, eq, nm.bin, E = TRUE, treat = TRUE, naive = FALSE, ind = NULL,
sub.l = 50, delta = FALSE, n.sim = 100, prob.lev = 0.05, hd.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.ind
when some observations are excluded from the AT calculation (e.g., when using E = FALSETRUE then the delta method is used for confidence interval calculations, otherwise Bayesian posterior
simulation (the most reliable option, despite a bit slower) is employed.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 delta = FALSE.hd.plot = TRUE.delta = FALSE then it returns a vector containing simulated values of the average treatment effect. This
is used to calculate intervals.sub.l). In
our experience this still provides representative average effects. Once a preferred model has been found, the AT can be calculated using
the entire dataset by setting sub.l to the number of observations (note that this can be time consuming).SemiParBIVProbit-package, SemiParBIVProbit, summary.SemiParBIVProbit## see examples for SemiParBIVProbitRun the code above in your browser using DataLab