harmNoisePred: Asymmetric variant of Chow method applied on harmonic...

Description Usage Arguments Value

Description

A harmonic regression is done on the first set of time series (val1) pair. The differences of the second series to this fit are calculated. By comparison of these distances with the noise estimation of the first series, a decision is made whether the second series could be explained as additional samples of the first series.

Usage

1
harmNoisePred(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

list containing the fits for both time series and the combination and the pValue for differential Oscillation


DODR documentation built on May 2, 2019, 8:33 a.m.

Related to harmNoisePred in DODR...