perform_refinement {PanelMatch} | R Documentation |
perform_refinement Performs refinement of matched sets, ultimately returning sets of treated observations and controls with weights. This function mostly acts as an intermediary between PanelMatch and lower level functions that do the dirty work of refinement. The function takes a lot of the same arguments as PanelMatch()
Description
perform_refinement Performs refinement of matched sets, ultimately returning sets of treated observations and controls with weights. This function mostly acts as an intermediary between PanelMatch and lower level functions that do the dirty work of refinement. The function takes a lot of the same arguments as PanelMatch()
Usage
perform_refinement(
lag,
time.id,
unit.id,
treatment,
refinement.method,
size.match,
ordered.data,
match.missing,
covs.formula,
verbose,
lead,
outcome.var = NULL,
forbid.treatment.reversal = FALSE,
qoi = "",
matching = TRUE,
exact.matching.variables = NULL,
listwise.deletion,
use.diag.covmat = FALSE,
placebo.test = FALSE,
restrict.control.period = NULL
)
Arguments
lag |
See PanelMatch() documentation. |
time.id |
See PanelMatch() documentation. |
unit.id |
See PanelMatch() documentation. |
treatment |
See PanelMatch() documentation. |
refinement.method |
See PanelMatch() documentation. |
size.match |
See PanelMatch() documentation. |
ordered.data |
data.frame that has been balanced and ordered by time-unit. |
match.missing |
See PanelMatch() documentation. |
covs.formula |
See PanelMatch() documentation. |
verbose |
See PanelMatch() documentation. |
lead |
See PanelMatch() documentation. |
outcome.var |
See PanelMatch() documentation. |
forbid.treatment.reversal |
See PanelMatch() documentation. |
qoi |
See PanelMatch() documentation. |
matching |
See PanelMatch() documentation. |
exact.matching.variables |
|
listwise.deletion |
See PanelMatch() documentation. |
use.diag.covmat |
See PanelMatch() documentation for use.diagonal.covariance.matrix argument. |
placebo.test |
See PanelMatch() documentation. |
restrict.control.period |
See PanelMatch() documentation. |
Value
returns a matched.set object containing the refined matched sets