EncompassingTest._summary_table#

EncompassingTest._summary_table()[source]#

Render as a table.

One row with the statistic and p-value under the family header, and notes giving the combination weight and the reference.

Return type:

SummaryTable

Returns:

The SummaryTable that summary(), str(), and the notebook renderer display.

Example

>>> import numpy as np
>>> rng = np.random.default_rng(0)
>>> x = rng.standard_normal(200)
>>> y = 0.5 * x + rng.standard_normal(200)
>>> table = encompassing(y, np.zeros(200), 0.5 * x)._summary_table()
>>> table.metadata[2], table.rows[0][0]
(('Verdict', 'B adds information'), 'HLN encompassing')