module Statsample::Fixtures

Public Instance Methods

harman_817() click to toggle source
# File pkg/statsample-1.4.0/test/fixtures/correlation_matrix.rb, line 4
def harman_817
  Matrix[
[1.0,   0.84,   0.62,   -0.53,   0.03,    0.57,   -0.33,  -0.63],
[0.84,  1.00,   0.84,   -0.68,  -0.05,    0.76,   -0.35,  -0.73],
[0.62,  0.84,   1.00,   -0.76,   0.08,    0.81,   -0.51,  -0.81],
[-0.53, -0.68,  -0.76,  1.00,    -0.25,  -0.80,    0.62,   0.88],
[0.03,  -0.05,  0.08,   -0.25,   1.00,    0.25,   -0.72,  -0.36],
[0.57,   0.76,  0.81,   -0.80,   0.25,    1.00,   -0.58,  -0.84],
[-0.33, -0.35, -0.51,    0.62,  -0.72,   -0.58,    1.00,   0.68],
[-0.63, -0.73, -0.81,    0.88,  -0.36,   -0.84,    0.68,   1.00]
].extend(Statsample::CovariateMatrix)
end