AT2
can be used to calculate the sample average treatment effect from a twopart model, with
corresponding interval obtained using posterior simulation.
1 2 3 4 
x1 
A fitted 
x2 
A fitted 
index1 
This is useful to pick a particular individual. 
index2 
As above. 
n.sim 
Number of simulated coefficient vectors from the posterior distribution of the estimated model parameters. This is used
when 
prob.lev 
Overall probability of the left and right tails of the AT distribution used for interval calculations. 
hd.plot 
If 
main 
Title for the plot. 
xlab 
Title for the x axis. 
... 
Other graphics parameters to pass on to plotting commands. These are used only when 
AT measures the sample average effect from a twopart model when a binary response (associated with a continuous outcome) takes values 0 and 1. Posterior simulation is used to obtain a confidence/credible interval.
This function is not suitable for SemiParBIVProbit()
.
Maintainer: Giampiero Marra giampiero.marra@ucl.ac.uk
SemiParBIVProbitpackage
, SemiParBIVProbit
, summary.SemiParBIVProbit
1  ## see examples for SemiParBIVProbit

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.