This function evaluates your counterfactuals. Specifically, it:
- Determines if your counterfactuals are in the convex hull of the
observed covariate data and are therefore interpolations or if they instead
lie outside of it and are therefore extrapolations.
- Computes the distance from your counterfactuals to
each of the
observed data points. The default distance function used is
Gower's non-parametric measure.
- Computes a summary statistic for each counterfactual based on
the distances in 2: the fraction of observed covariate data points with
distances to your counterfactual less than a value you supply.
By default, this value is taken to be the geometric variability of the
observed data.
- Computes the cumulative frequency distribution of each
counterfactual for the distances in 2 using values that you
supply. By default, Gower distances from 0
to
in increments of
are used.
In other words, this function provides you with both qualitative and
quantitative information about your counterfactuals, including two
numeric summaries. You can then feed the output of this function
either to plot to generate a graphical view or to
summary to get a numerical summary of the results.
Subsections
Gary King
2010-08-12