statsmodels.sandbox.regression.try_ols_anova.
data2groupcont
create dummy continuous variable
x1 : 1d array
label or group array
x2 : 1d array (float)
continuous variable
Notes
useful for group specific slope coefficients in regression
statsmodels.sandbox.regression.try_ols_anova.data2dummy
statsmodels.sandbox.regression.try_ols_anova.data2proddummy
Enter search terms or a module, class or function name.