Learn R Programming

DODR (version 0.99.2)

harmScaleTest: Test for difference in scales upon harmonic regressions

Description

The Test uses the F-Test for variances to decide wether the two given time series have a comparable noise scale or on of the series has a higher noise level.

Usage

harmScaleTest(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

dataframe with following columns:
  • p.value: P-value for difference between the two time series
  • score: score from the underlying F test