extract_differences {PanelMatch} | R Documentation |
extract_differences This function calculates the differences from t-1 to 1 for treated and control units in the treatment variable. While functionality is somewhat trivial for current implementation of package, it will be needed for continuous treatment version of the package.
extract_differences(indexed.data, matched.set, treatment.variable, qoi)
indexed.data |
data that has been indexed. Rows have been named with a unique identifier. |
matched.set |
matched.set object |
treatment.variable |
string specifying treatment variable |
qoi |
string specifying QOI |
matched.set object, with differences extracted as described previously for each matched set.