Learn R Programming

Synth (version 0.1-2)

spec.pred.func: Special Predictor Function for Dataprep

Description

This function is called by dataprep to handle special predictors in the process of setting up the dataset to be loaded into synth. It should not be called manually by the normal user.

Usage

spec.pred.func(list.object = NULL,
          tr.numb = treatment.identifier,
          co.numb = controls.identifier,
          unit.var = unit.variable,
          time.var = time.variable,
          foo.object = foo,
          X0.inner = X0,
          X1.inner = X1)

Arguments

list.object
NA
tr.numb
NA
co.numb
NA
unit.var
NA
time.var
NA
foo.object
NA
X0.inner
NA
X1.inner
NA

Value

  • NA

Details

NA

References

Abadie, A. and Gardeazabal, J. (2003) Economic Costs of Conflict: A Case Study of the Basque Country American Economic Review 93 (1) 113--132 http://ksghome.harvard.edu/~.aabadie.academic.ksg/ecc.pdf Abadie, A., Diamond, A., Hainmueller, J. (2007) Synthetic Control Methods for Comparative Case Studies: Estimating the Effect of California's Tobacco Control Program NBER Technical Working Paper no 335 http://www.people.fas.harvard.edu/~jhainm/

See Also

gaps.plot,synth.plot,dataprep,synth.tab

Examples

Run this code
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as

Run the code above in your browser using DataLab