statsmodels.sandbox.regression.try_ols_anova.form2design
statsmodels.sandbox.regression.try_ols_anova.form2design(ss, data) [source]
convert string formula to data dictionary
ss : string
I : add constant varname : for simple varnames data is used as is F:varname : create dummy variables for factor varname P:varname1*varname2 : create product dummy variables for varnames G:varname1*varname2 : create product between factor and continuous variable
data : dict or structured array data set,