Skip to content

NotImplementedError in MANOVA #5578

Closed

Description

@mahyar-osn

Hi there,
I am trying to use the MANOVA on my data. From a stackoverflow page I realized this was recently implemented.
However, when I try to fit my model, I receive the NotImplementedError.
Any help would be appreciated.

An example of how I am using this class:

a = np.random.randn(1000, 2)
b = np.random.randn(1000, 4)
manova = MANOVA(a, b)
manova.fit()

And the error:

Traceback (most recent call last):
File "", line 1, in
File "/hpc_htom/mosa004/zincvenv-py3/lib/python3.5/site-packages/statsmodels/base/model.py", line 194, in fit
raise NotImplementedError
NotImplementedError

Many thanks.

Activity

  1. bashtage commented on May 7, 2019

    @bashtage
    Member

    You don't fit, you just test. See the test code here for an example:

    def test_manova_sas_example():

  2. added 2 commits that reference this issue on May 7, 2019
    c1da27e
    c3ab504
  3. mahyar-osn commented on May 8, 2019

    @mahyar-osn
    Author

    Aha true! Great that makes sense now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions