View source: R/PanelEstimateObject.R
summary.PanelEstimate | R Documentation |
summary.PanelEstimate
takes an object returned by
PanelEstimate
, and returns a summary table of point
estimates and confidence intervals
## S3 method for class 'PanelEstimate'
summary(object, verbose = TRUE, bias.corrected = FALSE, ...)
object |
A PanelEstimate object |
verbose |
logical indicating whether or not output should be printed in an expanded form. Default is TRUE |
bias.corrected |
logical indicating whether or not bias corrected estimates should be provided. Default is FALSE. This argument only applies for standard errors calculated with the bootstrap. |
... |
optional additional arguments. Currently, no additional arguments are supported. |
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.weight",
data = dem.sub, match.missing = TRUE,
covs.formula = ~ tradewb,
size.match = 5, qoi = "att",
outcome.var = "y", lead = 0:4, forbid.treatment.reversal = FALSE)
PE.results <- PanelEstimate(sets = PM.results, data = dem.sub, se.method = "unconditional")
summary(PE.results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.