4.7.1.1.1. statsmodels.tools.catadd.add_indep

statsmodels.tools.catadd.add_indep(x, varnames, dtype=None)[source]

construct array with independent columns

x is either iterable (list, tuple) or instance of ndarray or a subclass of it. If x is an ndarray, then each column is assumed to represent a variable with observations in rows.