Summary.add_text()

statsmodels.iolib.summary2.Summary.add_text Summary.add_text(string) [source] Append a note to the bottom of the summary table. In ASCII tables, the note will be wrapped to table width. Notes are not indendented.

Summary.add_title()

statsmodels.iolib.summary2.Summary.add_title Summary.add_title(title=None, results=None) [source] Insert a title on top of the summary table. If a string is provided in the title argument, that string is printed. If no title string is provided but a results instance is provided, statsmodels attempts to construct a useful title automatically.

Summary.add_extra_txt()

statsmodels.iolib.summary.Summary.add_extra_txt Summary.add_extra_txt(etext) [source] add additional text that will be added at the end in text format Parameters: etext : string string with lines that are added to the text output.

Summary.add_table_2cols()

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 de

Summary.add_table_params()

statsmodels.iolib.summary.Summary.add_table_params Summary.add_table_params(res, yname=None, xname=None, alpha=0.05, use_t=True) [source] create and add a table for the parameter estimates Parameters: res : results instance some required information is directly taken from the result instance 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? alpha : float sign

Summary.add_dict()

statsmodels.iolib.summary2.Summary.add_dict Summary.add_dict(d, ncols=2, align='l', float_format='%.4f') [source] Add the contents of a Dict to summary table Parameters: d : dict Keys and values are automatically coerced to strings with str(). Users are encouraged to format them before using add_dict. ncols: int : Number of columns of the output table align : string Data alignment (l/c/r)

Summary.add_base()

statsmodels.iolib.summary2.Summary.add_base Summary.add_base(results, alpha=0.05, float_format='%.4f', title=None, xname=None, yname=None) [source] Try to construct a basic summary instance. Parameters: results : Model results instance alpha : float significance level for the confidence intervals (optional) float_formatting: string : Float formatting for summary of parameters (optional) title : string Title of the summary table (optional) xname : List of strings of length equal to the

Summary.add_df()

statsmodels.iolib.summary2.Summary.add_df Summary.add_df(df, index=True, header=True, float_format='%.4f', align='r') [source] Add the contents of a DataFrame to summary table Parameters: df : DataFrame header: bool : Reproduce the DataFrame column labels in summary table index: bool : Reproduce the DataFrame row labels in summary table float_format: string : Formatting to float data columns align : string Data alignment (l/c/r)

StepDown.stepdown()

statsmodels.sandbox.stats.multicomp.StepDown.stepdown StepDown.stepdown(indices) [source]

Summary.add_array()

statsmodels.iolib.summary2.Summary.add_array Summary.add_array(array, align='r', float_format='%.4f') [source] Add the contents of a Numpy array to summary table Parameters: array : numpy array (2D) float_format: string : Formatting to array if type is float align : string Data alignment (l/c/r)