findContinuousTreated: findContinuousTreated

Description Usage Arguments Value

View source: R/matched_set_R.r

Description

findContinuousTreated is used to identify t,id pairs of units for which a matched set might exist.

Usage

1
2
3
4
5
6
7
8
findContinuousTreated(
  dmat,
  treatedvar,
  time.var,
  unit.var,
  qoi,
  continuous.treatment.info
)

Arguments

dmat

Sorted data frame or matrix containing data used to identify potential treated units. Must be specified in such a way that a combination of time and id variables will correspond to a unique row. Must also contain at least a continuous treatment variable column as well.

treatedvar

Character string that identifies the name of the column in dmat that provides information about the continuous treatment variable

time.var

Character string that identifies the name of the column in dmat that contains data about the time variable. This data must be integer that increases by one.

unit.var

Character string that identifies the name of the column in dmat that contains data about the variable used as a unit id. This data must be integer

Value

findContinuousTreated returns a subset of the data in the dmat data frame, containing only treated units for which a matched set might exist


PanelMatch documentation built on Sept. 5, 2021, 5:48 p.m.