Learn R Programming

rgTest (version 0.1)

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

Description

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

Usage

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

Value

A list containing the following components:

test_statistic

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

p_value

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