extract_differences function

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 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)

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

Returns

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

  • Maintainer: In Song Kim
  • License: GPL (>= 3)
  • Last published: 2025-03-03

Useful links