GiacominiWhiteTest._summary_table#

GiacominiWhiteTest._summary_table()[source]#

Render as a table.

One row with the Wald statistic, its degrees of freedom, and the p-value under the family header; the notes give the instruments, the decision rule, the share of origins favoring A, the mean differential, and the covariance and estimation-scheme caveats.

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)
>>> losses_a, losses_b = rng.standard_normal(150) ** 2, rng.standard_normal(150) ** 2
>>> table = giacomini_white(losses_a, losses_b)._summary_table()
>>> table.columns, table.rows[0][0], table.rows[0][2]
(('test', 'statistic', 'df', 'p-value'), 'Giacomini-White Wald', '2')