J Test, Regression, Model Selection, Statistics, Deep Dives.
model_a_expr = y_var_name + ' ~ ' i = 0 for X_var_name in X_var_names: if i > 0: model_a_expr = model_a_expr + ' + ' + X_var_name else: model_a_expr = model_a_expr + X_var_name i = i + 1 for dummy_name in unit_names[:-1]: model_a_expr = model_a_expr + ' + ' + dummy_name Print out the regression