2

How to get MANOVA p-value from this:https://www.statsmodels.org/stable/generated/statsmodels.multivariate.manova.MANOVA.html#statsmodels.multivariate.manova.MANOVA ?

Gillian Grayson
  • 316
  • 1
  • 9
  • 1
    Welcome to Stack Overflow! Unfortunately [questions asking for: books, libraries, tutorials, tools, or other off-site resource are off-topic](https://stackoverflow.com/help/on-topic) and should be closed. Stack Overflow is a [Questions](https://stackoverflow.com/help/how-to-ask) & [Answers](https://stackoverflow.com/help/how-to-answer) website for specific programming questions. – sɐunıɔןɐqɐp Jul 27 '18 at 08:00
  • Bravo, wish more high-ranking users were like you. Actually put in the time to explain why the question is wrong. – Can H. Tartanoglu Aug 06 '21 at 05:46

1 Answers1

2

Found it:

MANOVA(endog, exog).mv_test().results['x0']['stat'].values[test_id, 4]

where test_id is different types of MANOVA tests: Wilks' lambda Pillai's trace Hotelling-Lawley trace Roy's greatest root

Gillian Grayson
  • 316
  • 1
  • 9
  • 3
    Glad you found an answer. But now imagine just having your question and your answer without further context. Would it mean anything to you? We don't have your data file, so we have no clue, what your input is, what your expected output is, what exactly you are doing with this one-liner. Please read [How do I ask a good question?](https://stackoverflow.com/help/how-to-ask) and [How do I write a good answer?](https://stackoverflow.com/help/how-to-answer) for future reference. – Mr. T Jul 28 '18 at 10:00