AT
can be used to calculate the average treatment effect of a binary endogenous predictor/treatment, with corresponding confidence intervals calculated either using the delta method or via posterior simulation.AT(x, eq, nm.bin="", E=TRUE, treat=TRUE, delta=TRUE, sig.lev=0.05,
s.meth="svd", n.sim=1000)
SemiParBIVProbit
object as produced by SemiParBIVProbit()
.TRUE
, then AT
calculates the ATE. If FALSE
, then it calculates the 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 the delta method is used for confidence interval calculation, otherwise Bayesian posterior simulation
is employed.delta=FALSE
.delta=FALSE
. See the documentation of the mvtnorm
package for further details.SemiParBIVProbit-package
, SemiParBIVProbit
, summary.SemiParBIVProbit
## see examples for SemiParBIVProbit
Run the code above in your browser using DataLab