AT can be used to calculate the sample average treatment effect of a binary or continuous endogenous predictor/treatment, with
corresponding interval obtained using mainly posterior simulation.AT(x, nm.end, E = TRUE, treat = TRUE, type = "bivariate", ind = NULL,
sub.l = 50, delta = FALSE, n.sim = 100, prob.lev = 0.05, hd.plot = FALSE,
prob.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
whicind
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. This option is only available for binary treatmendelta = 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.TRUE then a plot
showing probability that the binary outcome is equal to 1 for each value of the endogenous variable
and respective ihd.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).
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). An overall AT is provided as usual.SemiParBIVProbit-package, SemiParBIVProbit, summary.SemiParBIVProbit## see examples for SemiParBIVProbitRun the code above in your browser using DataLab