Learn R Programming

rgTest (version 0.1)

asy_max: get the approximate test statistic and p-value based on asymptotic theory using robust max-type edge-count test

Description

get the approximate test statistic and p-value based on asymptotic theory using robust max-type edge-count test

Usage

asy_max(asy_res, R1_test, R2_test, n1, n2)

Value

A list containing the following components:

test_statistic

the asymptotic test statistic using robust max-type graph-based test.

p_value

the asymptotic p-value using robust max-type graph-based test.

Arguments

asy_res

analytic expressions of expectations, variances and covariances

R1_test

weighted within-sample edge-counts of sample 1

R2_test

weighted within-sample edge-counts of sample 2

n1

number of observations in sample 1

n2

number of observations in sample 2