CRS.test: Hypothesis Test for ART

View source: R/backend.R

CRS.testR Documentation

Hypothesis Test for ART

Description

This helper function computes the randomization critical value, t-statistic, and p-value ART.

Usage

CRS.test(c.beta, G, lambda = 0, alpha = 0.05, nj = 1)

Arguments

c.beta

vector of parameters entering the null hypothesis c'beta - with one estimator per cluster (q x 1)

G

the group of all trasformations (use random.G to get)

lambda

scalar for the null hypothesis c'beta = lambda (default 0)

alpha

significance level (dafault 0.05)

nj

q x 1 vector of sample sizes in each cluster (for alternative weighting)

Value

A matrix contating the following elements:

Crit. value

the critical value of the randomization test

t value

the test statistic under the null hypothesis

Pr(>|t|)

p-value according to folmula 15.5


mwt/rART documentation built on June 16, 2022, 1:39 a.m.