CI.gen: High-level CI Generation

View source: R/CI_gen_all.R

CI.genR Documentation

High-level CI Generation

Description

Generates a confidence interval according to a given method.

Usage

CI.gen(
  CI.method = c("mm.smallC", "mm.largeC", "RDH", "adpt", "RDR", "RDR.L", "adpt.one"),
  xt,
  xc,
  yt,
  yc,
  sig.t,
  sig.c,
  spec.etc,
  C.one
)

Arguments

CI.method

method name used to generate the confidence interval.

xt

running variable values for the treated.

xc

running variable values for the control.

yt

outcome variable values for the treated.

yc

outcome variable values for the control.

sig.t

standard deviations for the treated.

sig.c

standard deviations for the control.

spec.etc

list of other specification parameters.

C.one

a single Lipschitz coefficient to adapt to; needed for CI.method = "adpt.one".

Details

This is used for MC simulations.

Value

lower and upper ends of a CI, returned as a list (ci.l and ci.u).


koohyun-kwon/rdadapt documentation built on May 8, 2022, 8:49 p.m.