summary.PanelEstimate: Get summaries of PanelEstimate objects/calculations

View source: R/PanelEstimateObject.R

summary.PanelEstimateR Documentation

Get summaries of PanelEstimate objects/calculations

Description

summary.PanelEstimate takes an object returned by PanelEstimate, and returns a summary table of point estimates and confidence intervals

Usage

## S3 method for class 'PanelEstimate'
summary(object, verbose = TRUE, bias.corrected = FALSE, ...)

Arguments

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.

Examples

PM.results <- PanelMatch(lag = 4, time.id = "year", unit.id = "wbcode2", 
                         treatment = "dem", refinement.method = "none", 
                         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)
PE.results <- PanelEstimate(sets = PM.results, data = dem, number.iterations = 500)
summary(PE.results)




PanelMatch documentation built on June 27, 2022, 1:06 a.m.