Skip to contents

Runs fdatest::ITP2bspline() to compare two groups of functional observations evaluated on the same grid.

Usage

functional_interval_test(
  group0,
  group1,
  n_permutations = 1000,
  alpha = 0.05,
  time = NULL,
  quiet = TRUE
)

Arguments

group0

Numeric matrix for the reference group.

group1

Numeric matrix for the comparison group.

n_permutations

Number of permutations used by the interval-wise test.

alpha

Significance level used when extracting intervals.

time

Numeric vector of time values corresponding to matrix columns.

quiet

Logical; if TRUE, suppresses routine console output emitted by fdatest::ITP2bspline().

Value

A list with the raw test object, a table of corrected p-values by time value, the selected significance level, the significant time values, and a table of collapsed significant intervals.