print.matched.set {PanelMatch} | R Documentation |
Print matched.set
objects.
Description
Print matched.set
objects.
Usage
## S3 method for class 'matched.set'
print(x, ..., verbose = FALSE)
Arguments
x |
a |
... |
additional arguments to be passed to |
verbose |
logical indicating whether or not output should be printed in expanded/raw list form. The verbose form is not recommended unless the data set is small. Default is FALSE |
Examples
dem.sub <- dem[dem[, "wbcode2"] <= 100, ]
# create subset of data for simplicity
PM.results <- PanelMatch(lag = 4, time.id = "year", unit.id = "wbcode2",
treatment = "dem", refinement.method = "ps.match",
data = dem, match.missing = TRUE,
covs.formula = ~ I(lag(tradewb, 1:4)) + I(lag(y, 1:4)),
size.match = 5, qoi = "att",
outcome.var = "y", lead = 0:4, forbid.treatment.reversal = FALSE)
print(PM.results$att)
[Package PanelMatch version 2.2.0 Index]