statsmodels.iolib.summary.Summary.add_table_2cols¶
method
-
Summary.
add_table_2cols
(res, title=None, gleft=None, gright=None, yname=None, xname=None)[source]¶ add a double table, 2 tables with one column merged horizontally
- Parameters
- resresults instance
some required information is directly taken from the result instance
- titlestring or None
if None, then a default title is used.
- gleftlist of tuples
elements for the left table, tuples are (name, value) pairs If gleft is None, then a default table is created
- grightlist of tuples or None
elements for the right table, tuples are (name, value) pairs
- ynamestring or None
optional name for the endogenous variable, default is “y”
- xnamelist of strings or None
optional names for the exogenous variables, default is “var_xx”
- Returns
- Nonetables are attached