pearsonCorTest

Tests the hypothesis that the Pearson correlation between two ranges is different from some 0. Alternatives are Alt.less (pearsonCor(range1, range2) < 0), Alt.greater (pearsonCor(range1, range2) 0) and Alt.twoSided (pearsonCor(range1, range2) != 0).

  1. ConfInt pearsonCorTest(T range1, U range2, Alt alt = Alt.twoSided, double confLevel = 0.95)
    pearsonCorTest
    (
    T
    U
    )
    (
    ,,,
    double confLevel = 0.95
    )
    if ()
  2. ConfInt pearsonCorTest(double cor, double N, Alt alt = Alt.twoSided, double confLevel = 0.95)

Return Value

Type: ConfInt

A ConfInt of the estimated Pearson correlation of the two ranges, the P-value against the given alternative, and the confidence interval of the correlation at the level specified by confLevel.

References: http://en.wikipedia.org/wiki/Pearson_correlation

Meta