Skip to contents

Compute confidence intervals for synthdid object

Usage

# S3 method for class 'synthdid'
confint(object, parm, level = 0.95, ...)

Arguments

object

A synthdid object

parm

Ignored (included for S3 generic compatibility)

level

Confidence level (default: 0.95)

...

Additional arguments (currently ignored)

Value

A matrix with lower and upper confidence bounds

Examples

# \donttest{
data(california_prop99)
result <- synthdid(PacksPerCapita ~ treated,
  data = california_prop99,
  index = c("State", "Year"),
  se = TRUE,
  se_method = "jackknife"
)
#> Warning: jackknife standard errors require more than one treated unit and at least two controls with weight.
confint(result)
#> Warning: Standard error not available; cannot compute confidence interval
#>         Lower Upper
#> treated    NA    NA
confint(result, level = 0.90)
#> Warning: Standard error not available; cannot compute confidence interval
#>         Lower Upper
#> treated    NA    NA
# }