Class: Statsample::Factor::Equimax

Inherits:
Rotation show all
Defined in:
lib/statsample/factor/rotation.rb

Constant Summary

Constants inherited from Rotation

Rotation::EPSILON, Rotation::MAX_ITERATIONS

Instance Attribute Summary

Attributes inherited from Rotation

#component_transformation_matrix, #epsilon, #h2, #iterations, #max_iterations, #rotated, #use_gsl

Instance Method Summary collapse

Methods inherited from Rotation

#compute, #initialize, #iterate, #report_building

Methods included from Summarizable

#summary

Constructor Details

This class inherits a constructor from Statsample::Factor::Rotation

Instance Method Details

#rotation_nameObject



180
181
182
# File 'lib/statsample/factor/rotation.rb', line 180

def rotation_name
  "Equimax"
end

#x(a, b, c, d) ⇒ Object



174
175
176
# File 'lib/statsample/factor/rotation.rb', line 174

def x(a,b,c,d)
  d-(@m*a*b / @n.to_f)
end

#y(a, b, c, d) ⇒ Object



177
178
179
# File 'lib/statsample/factor/rotation.rb', line 177

def y(a,b,c,d)
  c-@m*((a**2-b**2) / (2*@n.to_f))
end