View source: R/telescope_match.R
boots_tm | R Documentation |
Performs a weighted bootstrap procedure for the output of
telescope_match
.
boots_tm(obj, boots = 1000, ci_alpha = 0.05)
obj |
A |
boots |
The number of bootstrap replicates. Defaults to 1000. |
ci_alpha |
alpha value for the bootstrapped confidence intervals. Corresponds to a 100 * (1-alpha) confidence interval. |
An data.frame with columns 'ci_low' and 'ci_high' which
contain the bootstrapped confidence intervals for the estimated
ACDEs in obj$tau
.
data(jobcorps)
## Split male/female
jobcorps_female <- subset(jobcorps, female == 1)
## Telescope matching formula - First stage (X and Z)
tm_form <- exhealth30 ~ schobef + trainyrbef + jobeverbef |
treat | emplq4 + emplq4full | work2year2q
### Estimate ACDE for women holding employment at 0
tm_out <- telescope_match(
tm_form,
data = jobcorps_female,
L = 3,
boot = FALSE,
verbose = TRUE
)
out.boots <- boots_tm(tm_out)
out.boots
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.