title: Statsmodels MANOVA : IndexError: index 1 is out of bounds for axis 0 with size 1
body: <p>I have spent hours trying to make statsmodels do my MANOVA without success.
  Here is the code:</p>
  
  <pre><code>from statsmodels.multivariate.manova import MANOVA 
  
  df = data
  feats_list = ['col1', 'col2', 'col3' ... 'col4']
  var_list = ['col5', 'col6']
  endog, exog = np.asarray(df[feats_list]), np.asarray(df[var_list])
  manov = MANOVA(endog, exog)
  manov.mv_test()
  </code></pre>
  
  <p>Providing:</p>
  
  <pre><code>    ---------------------------------------------------------------------------
      IndexError                                Traceback (most recent call last)
      &lt;ipython-input-16-c3fc1d1f16f6&gt; in &lt;module&gt;()
            1 manov = MANOVA(endog, exog)
      ----&gt; 2 manov.mv_test()
  
      ~\Anaconda3\lib\site-packages\statsmodels\multivariate\manova.py in mv_test(self, hypotheses)
           68                     name = 'x%d' % (i)
           69                     L = np.zeros([1, self.exog.shape[1]])
      ---&gt; 70                     L[i] = 1
           71                     hypotheses.append([name, L, None])
           72 
  
      IndexError: index 1 is out of bounds for axis 0 with size 
  
  1
  </code></pre>
  
  <p>I tried also to put the hypotheses by myself and I always get a SingularMatrixError so I suppose that I am not using the class correctly.</p>
  
  <p>Thanks in advance for your help.</p>