WhatIf: WhatIf: Software for Evaluating Counterfactuals

Inferences about counterfactuals are essential for prediction, answering what if questions, and estimating causal effects. However, when the counterfactuals posed are too far from the data at hand, conclusions drawn from well-specified statistical analyses become based largely on speculation hidden in convenient modeling assumptions that few would be willing to defend. Unfortunately, standard statistical approaches assume the veracity of the model rather than revealing the degree of model-dependence, which makes this problem hard to detect. WhatIf offers easy-to-apply methods to evaluate counterfactuals that do not require sensitivity testing over specified classes of models. If an analysis fails the tests offered here, then we know that substantive inferences will be sensitive to at least some modeling choices that are not based on empirical evidence, no matter what method of inference one chooses to use. WhatIf implements the methods for evaluating counterfactuals discussed in Gary King and Langche Zeng, 2006, "The Dangers of Extreme Counterfactuals," Political Analysis 14 (2); and Gary King and Langche Zeng, 2007, "When Can History Be Our Guide? The Pitfalls of Counterfactual Inference," International Studies Quarterly 51 (March).

Version: 1.5-6
Depends: R (≥ 2.3.1), lpSolve
Published: 2014-01-08
Author: Heather Stoll, Gary King, Langche Zeng,
Maintainer: Heather Stoll <hstoll at polsci.ucsb.edu>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: http://gking.harvard.edu/whatif
NeedsCompilation: no
Materials: README
CRAN checks: WhatIf results

Downloads:

Reference manual: WhatIf.pdf
Package source: WhatIf_1.5-6.tar.gz
Windows binaries: r-devel: WhatIf_1.5-6.zip, r-release: WhatIf_1.5-6.zip, r-oldrel: WhatIf_1.5-6.zip
OS X Snow Leopard binaries: r-release: WhatIf_1.5-6.tgz, r-oldrel: WhatIf_1.5-6.tgz
OS X Mavericks binaries: r-release: WhatIf_1.5-6.tgz
Old sources: WhatIf archive

Reverse dependencies:

Reverse suggests: MatchIt