ClarkWestTest._summary_table#

ClarkWestTest._summary_table()[source]#

Render as a table.

One row with the statistic and p-value under the family header, and notes giving the adjusted differential, the raw MSPEs, and the reference distribution.

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 = clark_west(y, np.zeros(200), 0.5 * x)._summary_table()
>>> table.metadata[2], table.rows[0][0]
(('Verdict', 'larger model improves'), 'Clark-West adjusted MSPE')