Learn R Programming

rgTest (version 0.1)

asy_gen: get the approximate test statistic and p-value based on asymptotic theory using robust generalized edge-count test

Description

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

Usage

asy_gen(asy_res, R1_test, R2_test)

Value

A list containing the following components:

test_statistic

the asymptotic test statistic using robust generalized graph-based test.

p_value

the asymptotic p-value using robust generalized 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