statsmodels.sandbox.regression.try_ols_anova.data2groupcont¶ statsmodels.sandbox.regression.try_ols_anova.data2groupcont(x1, x2)[source]¶ create dummy continuous variable Parameters x11d arraylabel or group array x21d array (float)continuous variable Notes useful for group specific slope coefficients in regression