dataset

ctmatching algoritm example data set loader. For tests and demo uses.

About re78 data:

  • 1978 US people earning data by race, age, gender, educations.
  • 429 control samples, 185 treatment samples. Each sample has 10 properties. except ID

Full description of this data: http://users.nber.org/~rdehejia/data/nswdata2.html. If this link is not available, try this: https://github.com/MacHu-GWU/ctmatching-project/blob/master/ctmatching/testdata/re78-readme.html

ctmatching.dataset.load_re78()[source]

re78 dataset loader.

Usage:

>>> from ctmatching import load_re78
>>> control, treat = load_re78()
>>> len(control)
429
>>> len(treat)
185