AT
can be used to calculate the sample average treatment effect of a binary endogenous predictor/treatment, with corresponding confidence intervals.AT(x, eq, nm.bin = "", E = TRUE, treat = TRUE, delta = FALSE, prob.lev = 0.05,
s.meth = "svd", n.sim = 1000)
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 involving asymmetrdelta = FALSE
.delta = FALSE
. See the documentation of the mvtnorm
package for further details.delta = FALSE
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 SemiParBIVProbit
Run the code above in your browser using DataLab