summary.microsynth function

Summarizing microsynth Fits and Results

Summarizing microsynth Fits and Results

Summary method for class 'microsynth'.

## S3 method for class 'microsynth' summary(object, ...)

Arguments

  • object: A microsynth object produced by microsynth()
  • ...: further arguments passed to or from other methods.

Returns

The functions print.microsynth and summary.microsynth displays information about the microsynth fit and estimation results, if available.

The output includes two parts: 1) a matching summary that compares characteristics of the treatment to the synthetic control and the population; and 2) estimated results, in a similar format as they appear when saved to .csv or .xlsx., once for each specified post-intervention evaluation time.

Examples

# Use seattledmi, block-level panel data, to evaluate a crime intervention. # Declare time-variant (outcome) and time-invariant variables for matching cov.var <- c('TotalPop', 'BLACK', 'HISPANIC', 'Males_1521', 'HOUSEHOLDS', 'FAMILYHOUS', 'FEMALE_HOU', 'RENTER_HOU', 'VACANT_HOU') match.out <- c('i_felony', 'i_misdemea', 'i_drugs', 'any_crime') set.seed(99199) # for reproducibility # Perform matching and estimation, without permutations or jackknife # runtime: < 1 min sea1 <- microsynth(seattledmi, idvar='ID', timevar='time', intvar='Intervention', start.pre=1, end.pre=12, end.post=16, match.out=match.out, match.covar=cov.var, result.var=match.out, omnibus.var=match.out, test='lower', n.cores = min(parallel::detectCores(), 2)) # View results summary(sea1)
  • Maintainer: Michael Robbins
  • License: GPL-3
  • Last published: 2023-06-30

Useful links