Learn R Programming

PanelMatch (version 3.0.0)

extract_differences: 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.

Description

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.

Usage

extract_differences(indexed.data, matched.set, treatment.variable, qoi)

Value

matched.set object, with differences extracted as described previously for each matched set.

Arguments

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