linearmodels.shared.hypotheses.InvalidTestStatistic

class InvalidTestStatistic(reason, *, name=None)[source]

Class returned if a requested test is not valid for a model

Parameters
reasonstr

Explanation why test is invalid

namestr

Name of test

Attributes
critical_values

Always returns None

null

Null hypothesis

pval

Always returns np.NaN

stat

Test statistic

Methods

Properties

critical_values

Always returns None

null

Null hypothesis

pval

Always returns np.NaN

stat

Test statistic