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,
confidence.level = NULL,
verbose = FALSE,
bias.corrected = FALSE,
...
)
object |
A |
confidence.level |
Confidence level to be used for confidence interval calculations. Must be numeric between 0 and 1. If NULL, confidence level from |
verbose |
logical indicating whether or not output should be printed in an expanded form. Default is FALSE |
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, ]
dem.sub.panel <- PanelData(dem.sub, "wbcode2", "year", "dem", "y")
# create subset of data for simplicity
PM.results <- PanelMatch(panel.data = dem.sub.panel, lag = 4,
refinement.method = "ps.match",
match.missing = TRUE,
covs.formula = ~ tradewb,
size.match = 5, qoi = "att",
lead = 0:4,
forbid.treatment.reversal = FALSE)
PE.results <- PanelEstimate(sets = PM.results,
panel.data = dem.sub.panel,
se.method = "unconditional")
summary(PE.results)
summary(PE.results, confidence.level = .9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.