apexog

R package & Stata command

Jesper N. Wulff

How large would a violation of the exclusion restriction have to be before the average partial effect from your probit changes sign, or stops being significant? apexog carries the plausibly exogenous framework of Conley, Hansen & Rossi (2012) from linear 2SLS coefficients to average partial effects and average interaction effects on the probability scale, estimated by a control-function probit (or, for one binary treatment, a recursive bivariate probit). Results are reported as a union of confidence intervals over a range of assumed violations, or as a local-to-zero interval under a prior.

The R package and the Stata command give the same results and share one documentation site.

# R
# install.packages("remotes")
remotes::install_github("jespernwulff/apexog")

* Stata (18 or later)
net install apexog, from("https://raw.githubusercontent.com/jespernwulff/stata-apexog/main/")

See also