getChi2Weights {flintyR}R Documentation

Get Chi Square Weights

Description

Computes weights for the asymptotic random variable from the α,β\alpha, \beta and γ\gamma computed of data array X\mathbf{X}.

Usage

getChi2Weights(alpha, beta, gamma, N)

Arguments

alpha

covariance matrix entry computed from getCov

beta

covariance matrix entry computed from getCov

gamma

covariance matrix entry computed from getCov

N

The sample size, i.e., nrow(X) where X is the original dataset

Details

This is used in the large PP asymptotics of the permutation test.

Dependencies: None

Value

The weights (w1,w2)(w_1, w_2)


[Package flintyR version 0.1.0 Index]