View source: R/listwise_delete.R
lwd_refinement | R Documentation |
lwd_refinement master function that performs refinement with listwise deletion = TRUE
lwd_refinement(
msets,
global.data,
treated.ts,
treated.ids,
lag,
time.id,
unit.id,
lead,
refinement.method,
treatment,
size.match,
match.missing,
covs.formula,
verbose,
outcome.var,
e.sets,
use.diag.covmat
)
msets |
|
global.data |
data.frame. needs to be fully prepped/parsed data set that is internally balanced, full of NAs likely |
treated.ts |
vector of the times of treatment for treated observations |
treated.ids |
vector of unit identifiers of treated observations |
lag |
|
time.id |
string specifying |
unit.id |
|
lead |
vector of lead values |
refinement.method |
string specifying refinement method |
treatment |
string specifying treatment variable |
size.match |
maximum number of units to give non-zero weight to when using matching refinement method |
match.missing |
logical. indicates whether or not to allow the package to match units on missingness in treatment history |
covs.formula |
see PanelMatch documentation for descriptions |
verbose |
see PanelMatch documentation for descriptions |
outcome.var |
string specifying outcome variable |
e.sets |
empty sets (treated observations with no matched controls) |
use.diag.covmat |
see PanelMatch documentation for descriptions |
matched.set object with refined matched sets.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.