docstr: Rotation towards target matrix example
  http://www.stat.ucla.edu/research/gpa
docstr_tok: ["Rotation","towards","target","matrix","example","http",":","\/\/www.stat.ucla.edu\/research\/gpa"]
code: def test_orthogonal_target(self):
      """
      Rotation towards target matrix example
      http://www.stat.ucla.edu/research/gpa
      """
      A = self.str2matrix(
          """
           .830 -.396
           .818 -.469
           .777 -.470
           .798 -.401
           .786  .500
           .672  .458
           .594  .444
           .647  .333
          """
      )
      H = self.str2matrix(
          """
            .8 -.3
            .8 -.4
            .7 -.4
            .9 -.4
            .8  .5
            .6  .4
            .5  .4
            .6  .3
          """
      )
      vgQ = lambda L=None, A=None, T=None: vgQ_target(H, L=L, A=A, T=T)
      L, phi, T, table = GPA(A, vgQ=vgQ, rotation_method="orthogonal")
      T_analytic = target_rotation(A, H)
      self.assertTrue(np.allclose(T, T_analytic, atol=1e-05))
  
imports: import unittest
  import numpy
  from statsmodels.multivariate.factor_rotation._wrappers import rotate_factors
  from statsmodels.multivariate.factor_rotation._gpa_rotation import ff_partial_target, vgQ_partial_target, ff_target, vgQ_target, CF_objective, orthomax_objective, oblimin_objective, GPA
  from statsmodels.multivariate.factor_rotation._analytic_rotation import target_rotation
label_desc: Use image node_id 3 for calling the TestAnalyticRotation obj's underlying member method code with example usage: obj.test_orthogonal_target() without return types