Learn R Programming

RATest R package

It implements a collection of randomization tests. It facilitates the empirical researcher to test for particular hypotheses, such as comparisons of means, medians, and variances from k populations using robust permutation tests, which asymptotic validity holds under very weak assumptions, while retaining the exact rejection probability in finite samples when the underlying distributions are identical.

In addition, this R package implements the permutation test proposed by Canay and Kamat (2017) for testing the null hypothesis of continuity of the distribution of the baseline covariates at the cutoff for Sharp RDD.

Copy Link

Version

Install

install.packages('RATest')

Monthly Downloads

411

Version

0.1.10

License

GPL (>= 2)

Maintainer

Mauricio Olivares

Last Published

September 29th, 2022

Functions in RATest (0.1.10)

PT.Khmaladze.fit

Permutation Test for Heterogeneous Treatment Effects with a Nuisance Parameter
PTQTE.Khmaladze.fit

Quantile-Based Permutation Test with an Estimated Nuisance Parameter
RDperm

Regression Discontinuity Design Permutation Test
summary.PTQTE.Khmaladze.fit

Summarizing Quantile-Based Permutation Test with an Estimated Nuisance Parameter
summary.RDperm

Summarizing Regression Discontinuity Design Permutation Test
summary.PT.Khmaladze.fit

Summarizing Permutation Test for Heterogeneous Treatment Effects with Estimated Nuisance Parameter
plot.RDperm

Plot RDperm
summary.PT.Khmaladze.MultTest

Summarizing Permutation Test for Within-grpup Treatment Effect Heterogeneity in the presence of an Estimated Nuisance Parameter
prepivot.ks.permtest

Permutation Test for the two-sample goodness-of-fit problem under covariate-adaptive randomization
summary.prepivot.ks.permtest

Summarizing Two-sample Goodness-of-fit Permutation Test under Covariate-adaptive Randomization
summary.RPT

Summarizing Robust Permutation Test
randomization.test

General Construction of Randomization Tests
lee2008

Data set used in Lee (2008)
group.action

General Construction of Permutation Tests: Group Actions
CvM.stat

Cramer - von Mises statistics
PT.Khmaladze.MultTest

Martingale transformed Permutation Test: Multiple Testing procedures.
H.cdf

Regression Discontinuity Design Permutation test
RPT

Robust Permutation Test