gs.siem.batch.tstat: Test Statistic for Batch Detection

Description Usage Arguments Value Author(s)

Description

A function that computes a test statistic associated with a set of estimators. Given a list of SIEM models and an array of labels, computes the mean estimator for two pairs of the average edge-set estimators (called p and q). For each pair of unique labels in the data set, computes the distance between the pairs of estimators assiciated with the unique labels as D_ij = |p_i - p_j - (q_i - q_j)|.

Usage

1
gs.siem.batch.tstat(models, Z, i = 1, j = 2, return = "full")

Arguments

models

[[n]] a list of the models fit to each of the n samples.

[[n]: R:[n

Z

n an array of the labels associated with each model.

i=1

the first edge set to use in the comparison.

j=2

the second edge set to use in the comparison.

return="full"

How to return the test statistic.

  • "full"return the full distance matrix as the statistic.

  • "max"return the max value of the distance matrix.

  • "mean"return the mean value of the distance matrix.

  • "min"return the min value of the distance matrix.

Value

stat the test statistic.

Author(s)

Eric Bridgeford


neurodata/graphstats documentation built on May 14, 2019, 5:19 p.m.