asy_gen: get the approximate test statistic and p-value based on...

View source: R/asy_gen.R

asy_genR Documentation

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)

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

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.


rgTest documentation built on Aug. 14, 2023, 5:08 p.m.