You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Activity
bashtage commentedon May 7, 2019
You don't fit, you just test. See the test code here for an example:
statsmodels/statsmodels/multivariate/tests/test_manova.py
Line 28 in 4c601f6
BUG: Fix MANOVA when not using formulas
BUG: Fix MANOVA when not using formulas
mahyar-osn commentedon May 8, 2019
Aha true! Great that makes sense now. Thanks!