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

View source: R/asy_max.R

asy_maxR Documentation

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)

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

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.


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