View source: R/matched_set_obj.R
print.matched.set | R Documentation |
matched.set
objects.Print matched.set
objects.
## S3 method for class 'matched.set'
print(x, ..., verbose = FALSE)
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 |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.