dot-gob: Unsugared version of 'gob'

Description Usage Arguments Value

Description

'.gob' does the actual work of computing the point estimate and confidence interval. It should generally not be called directly (and is in fact not exposed to the user).

Usage

1
.gob(Y, X, Z, pred.fn.ls, alpha = 0.95)

Arguments

Y

A vector of outcomes.

X

A dataframe of covariates.

Z

A binary vector of assignments.

pred.fn.ls

A list of length 2.

The first element is the regression function to apply to the control units, while the second element is the regression function to apply to the treated units.

alpha

The desired coverage of the confidence interval.

Value

a list of length 2. The first element is the point estimate; the second is the confidence interval.


gwb/RGOB documentation built on May 14, 2021, 7:39 a.m.