AT can be used to calculate the sample average treatment effect of a binary endogenous predictor/treatment, with corresponding
confidence/credible intervals.AT(x, eq, nm.bin = "", E = TRUE, treat = TRUE, delta = FALSE,
prob.lev = 0.05, s.meth = "svd", n.sim = 500, naive = FALSE)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 used jointly with E = FALSE.TRUE then an approximate delta method is used for confidence interval calculation, otherwise Bayesian posterior
simulation (the most reliable option, despite a bit slower)
is employed. Note that for models invdelta = FALSE. See the documentation of the mvtnorm package for further details.delta = FALSE. It may be increased if more precision is required.delta = FALSE then it returns a vector containing simulated values of the average treatment effect. This
is used to calculate intervals.SemiParBIVProbit-package, SemiParBIVProbit, summary.SemiParBIVProbit## see examples for SemiParBIVProbitRun the code above in your browser using DataLab