Learn R Programming

DODR (version 0.99.2)

robustHarmScaleTest: Robust test for difference in scales upon harmonic regressions

Description

The Test uses the Fligner-Killeen Test for differences in scales. The test remains valid if the noise distribution contains outliers or is not-Gaussian

Usage

robustHarmScaleTest(val1, val2, times1, times2, period, norm = TRUE)

Arguments

val1
matrix: data for values in first set. One column per sample, one row per time point
val2
matrix: data for values in second set. One column per sample, one row per time point
times1
vector: times of first set.
times2
vector: times of second set.
period
numeric: period of the oscillations. Same unit as the time points in times1 and times2
norm
boolean: whether to normalize the time series (division by mean), prior to the analysis.

Value

data frame with following columns:
  • p.value: P-value for difference between the two time series
  • score: score from the underlying fk.test test
  • factor: Measure for the difference between the two fits

See Also

fk.test