zelig_se: Parametric bootstrap Standard Error for the ATT

Description Usage Arguments Value References Examples

View source: R/Naive-SE.R

Description

Calculates the Standard Error for the Average Treatment Effect with a a parametric bootstrap method. This procedure mimics the output of the zelig packages as shown on pages 12 and 13 in the MatchIt vignette.

Usage

1
zelig_se(obj, Y)

Arguments

obj

MatchIt Object

Y

Response Vector

Value

SE for the ATT of Y

References

MatchIt vignette

Examples

1
2
3
4
5
6
7
8
## Not run: 
  library(MatchIt)
  data("lalonde")
  m.out  <- matchit(treat ~ educ + black, data = lalonde)
  att(obj = m.out, Y = lalonde$re78)
  zelig_se(obj = m.out, Y = lalonde$re78)

## End(Not run)

Example output

[1] -542.51
      est        sd   att.est    att.se 
5437.0447 1605.2646  912.0988  654.3099 

MatchItSE documentation built on May 29, 2017, 4:30 p.m.