zwhat: Utility function for counterfactual predictions using Zelig...

Description Usage Arguments Value Author(s)

Description

The zwhat utility allows users to easily make predictions from counterfactual datasets and check if they are in the convex hull of the data.

Usage

1
  zwhat(model, cfs)

Arguments

model

Output of a Zelig model.

cfs

Dataset of counterfactual examples.

Value

the counterfactual dataset where the DV is the mean expected value and generated variable inHull is a dummy for each observation.

Author(s)

Vito D'Orazio


IQSS/Zelig4 documentation built on May 9, 2019, 9:13 a.m.