summary.PanelEstimate function

Get summaries of PanelEstimate objects and calculations

Get summaries of PanelEstimate objects and calculations

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, ... )

Arguments

  • object: A PanelEstimate object
  • confidence.level: Confidence level to be used for confidence interval calculations. Must be numeric between 0 and 1. If NULL, confidence level from PanelEstimate() specification is used.
  • 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.

Examples

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)
  • Maintainer: In Song Kim
  • License: GPL (>= 3)
  • Last published: 2025-03-03

Useful links