powerLATE

Travis build status AppVeyor build status Codecov test coverage

powerLATE implements the generalized power analysis for the local average treatment effect (LATE), proposed by Bansak (2020).

Power analysis is in the context of estimating the LATE (also known as the complier average causal effect, or CACE), with calculations based on a test of the null hypothesis that the LATE equals 0 with a two-sided alternative. The method uses standardized effect sizes to place a conservative bound on the power under minimal assumptions. powerLATE allows users to recover power, sample size requirements, or minimum detectable effect sizes. It also allows users to work with absolute effects rather than effect sizes, to specify an additional assumption to narrow the bounds, and to incorporate covariate adjustment.

Installation

You can install the released version of powerLATE from CRAN with:

install.packages("powerLATE")

Or the development version from GitHub:

# install.packages("devtools")
devtools::install_github("kbansak/powerLATE")

Getting started

library(powerLATE)

powerLATE provides two main functions:

Examples

For examples on how to use the package, see here

Reference

For a detailed description of the method see:

Maintainer