Learn R Programming

BlockwiseRankTest (version 0.1.0)

BRISE_v.stat: Block-wise Statistic (Vectorized Form)

Description

For the vectorized version of BRISE, computes the within-pattern rank sums for both samples across all pattern pairs. Returns a concatenated vector of (Ux_ab, Uy_ab) for all blocks (a, b) with a>b.

Usage

BRISE_v.stat(R, sample1ID, sample2ID, ptn_list)

Value

Numeric vector containing the sums of R entries within X and Y, for each pattern pair.

Arguments

R

Numeric symmetric rank matrix (N × N).

sample1ID

Integer vector. Indices of observations in X.

sample2ID

Integer vector. Indices of observations in Y.

ptn_list

List of integer vectors that indexes observations sharing the same missing pattern.