Learn R Programming

riskRegression (version 2018.04.21)

print.ate: Print average treatment effects

Description

Print average treatment effects

Usage

# S3 method for ate
print(x, bootci.method = x$bootci.method, digits = 3, ...)

Arguments

x

object obtained with function ate

bootci.method

Character. Method for constructing bootstrap confidence intervals. Either "perc" (the default), "norm", "basic", "stud", or "bca". Argument passed to boot::boot.ci.

digits

Number of digits

...

passed to print

Details

When using bootstrap resampling the p-values are computing using a test-inversion method, i.e. find the critical confidence level such that one side of the confidence interval overlap the null hypothesis. The p-value is 1 minus the critical confidence level.