WhatIf: WhatIf: Software for Evaluating Counterfactuals

Share:

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).

Author
Heather Stoll <hstoll@polsci.ucsb.edu>, Gary King <king@harvard.edu>, Langche Zeng <zeng@ucsd.edu>,
Date of publication
2014-01-08 23:38:06
Maintainer
Heather Stoll <hstoll@polsci.ucsb.edu>
License
GPL (>= 2)
Version
1.5-6
URLs

View on CRAN

Man pages

peacecf
Counterfactual Replication Data from King and Zeng 2006b
peacef
Factual Replication Data from King and Zeng 2006b
plot.whatif
Plot Cumulative Frequencies of Distances for "whatif" Objects
print.summary.whatif
Print "summary.whatif" Object
print.whatif
Print "whatif" Object
summary.whatif
Summary of "whatif" Object
whatif
Counterfactual Evaluation

Files in this package

WhatIf
WhatIf/inst
WhatIf/inst/doc
WhatIf/inst/doc/brabazon_pig_500.jpg
WhatIf/inst/doc/index.shtml
WhatIf/NAMESPACE
WhatIf/demo
WhatIf/demo/00Index
WhatIf/demo/peace.R
WhatIf/data
WhatIf/data/peacecf.RData
WhatIf/data/peacef.RData
WhatIf/R
WhatIf/R/summary.whatif.R
WhatIf/R/print.whatif.R
WhatIf/R/print.summary.whatif.R
WhatIf/R/plot.whatif.R
WhatIf/R/load.first.R
WhatIf/R/whatif.R
WhatIf/vignettes
WhatIf/vignettes/whatif.tex
WhatIf/vignettes/whatif.pdf
WhatIf/vignettes/gkpubs.bib
WhatIf/vignettes/gk.bib
WhatIf/MD5
WhatIf/README
WhatIf/DESCRIPTION
WhatIf/man
WhatIf/man/peacef.Rd
WhatIf/man/print.whatif.Rd
WhatIf/man/summary.whatif.Rd
WhatIf/man/peacecf.Rd
WhatIf/man/print.summary.whatif.Rd
WhatIf/man/whatif.Rd
WhatIf/man/plot.whatif.Rd
WhatIf/.Rinstignore