statsmodels.iolib.summary.Summary.add_table_2cols

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:
  • res (results instance) – some required information is directly taken from the result instance
  • title (string or None) – if None, then a default title is used.
  • gleft (list of tuples) – elements for the left table, tuples are (name, value) pairs If gleft is None, then a default table is created
  • gright (list of tuples or None) – elements for the right table, tuples are (name, value) pairs
  • yname (string or None) – optional name for the endogenous variable, default is “y”
  • xname (list of strings or None) – optional names for the exogenous variables, default is “var_xx”
Returns:

None

Return type:

tables are attached

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.iolib.summary.Summary.add_table_2cols.html