extract_differences: extract_differences This function calculates the differences...

View source: R/matched_set_helpers.r

extract_differencesR 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.

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)

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

Value

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


PanelMatch documentation built on June 22, 2024, 10:32 a.m.