Alicia Morrison
2018-12-08 23:19:53 UTC
Hi -
I'm trying to do a MANOVA in python with four classes (A,B,C,D) for the
endogenous variable and about 9 exogenous variables.
I've gotten this far, but I can't make heads or tails of the statsmodels
website to figure out exactly how to fit the model and get results.
Everything I've tried generates errors.
endog, exog = np.asarray(pre_post[feats_list]),
np.asarray(pre_post[features])
man = sm.MANOVA(endog,exog)
I'd be grateful if anyone has an example to provide or could point me in
the right direction to figure out the correct syntax. This doesn't seem to
be an especially popular topic and I've had real difficulty finding
resources to help.
Many thanks.
I'm trying to do a MANOVA in python with four classes (A,B,C,D) for the
endogenous variable and about 9 exogenous variables.
I've gotten this far, but I can't make heads or tails of the statsmodels
website to figure out exactly how to fit the model and get results.
Everything I've tried generates errors.
endog, exog = np.asarray(pre_post[feats_list]),
np.asarray(pre_post[features])
man = sm.MANOVA(endog,exog)
I'd be grateful if anyone has an example to provide or could point me in
the right direction to figure out the correct syntax. This doesn't seem to
be an especially popular topic and I've had real difficulty finding
resources to help.
Many thanks.