linearmodels.shared.hypotheses.InapplicableTestStatistic

class linearmodels.shared.hypotheses.InapplicableTestStatistic(*, reason: str | None = None, name: str | None = None)[source]

Class returned if a requested test is not applicable for a specification.

Parameters:
reason: str | None = None

Explanation why the test is not applicable. The default says that the test is not applicable to the model specification.

name: str | None = None

Name of test.

See also

linearmodels.shared.hypotheses.WaldTestStatistic

Test statistic holder for Wald-type tests.

Methods

Properties

critical_values

Critical values, which are always None.

null

Null hypothesis of the test.

pval

P-value, which is always NaN.

stat

Test statistic.