Description Usage Arguments Value Author(s) References See Also Examples
Summarizes the information produced by the function whatif
.
The summary generated is returned as an output object and also printed
to the screen.
1 2 |
object |
An object of class "whatif", the output of
the function |
... |
Further arguments passed to and from other methods. |
An object of class "summary.whatif", a list containing the following five elements:
call |
The original call to |
m |
A scalar. The total number of counterfactuals evaluated. |
m.inhull |
A scalar. The number of counterfactuals evaluated that are in the convex hull of the observed covariate data. |
mean.near |
A scalar. The average percentage of data nearby each counterfactual, where the average is taken over all counterfactuals. |
sum.df |
A data frame with three columns and m rows, where m is
the number of counterfactuals. The first column, |
This object is printed to the screen.
Stoll, Heather hstoll@polsci.ucsb.edu, King, Gary king@harvard.edu and Zeng, Langche zeng@ucsd.edu
King, Gary and Langche Zeng. 2006. "The Dangers of Extreme Counterfactuals." Political Analysis 14 (2). Available from https://gking.harvard.edu.
King, Gary and Langche Zeng. 2007. "When Can History Be Our Guide? The Pitfalls of Counterfactual Inference." International Studies Quarterly 51 (March). Available from https://gking.harvard.edu.
whatif
,
plot.whatif
,
print.whatif
,
print.summary.whatif
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.