Sha256: e8e7f5c9030c327d84c5970c446df2bd69693a1c4a476083335bbf1f59559186

Contents?: true

Size: 441 Bytes

Versions: 11

Compression:

Stored size: 441 Bytes

Contents

#!/usr/bin/ruby
$:.unshift(File.dirname(__FILE__)+'/../lib/')

require 'statsample'
matrix=Matrix[
[1.0, 0.709501601093587, 0.877596585880047, 0.272219316266807],  [0.709501601093587, 1.0, 0.291633797330304, 0.871141831433844], [0.877596585880047, 0.291633797330304, 1.0, -0.213373722977167], [0.272219316266807, 0.871141831433844, -0.213373722977167, 1.0]]
fa=Statsample::Factor::PrincipalAxis.new(matrix,:m=>1,:smc=>false)
puts fa.summary

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
statsample-0.12.0 examples/principal_axis.rb
statsample-0.11.2 examples/principal_axis.rb
statsample-0.11.1 examples/principal_axis.rb
statsample-0.11.0 examples/principal_axis.rb
statsample-0.10.0 examples/principal_axis.rb
statsample-0.9.0 examples/principal_axis.rb
statsample-0.8.2 examples/principal_axis.rb
statsample-0.8.1 examples/principal_axis.rb
statsample-0.8.0 examples/principal_axis.rb
statsample-0.7.0 demo/principal_axis.rb
statsample-0.6.7 demo/principal_axis.rb