Compute a Wald test for a linear hypothesis of the form R * beta = q. where R is m x k matrix, beta is a k x 1 vector of coefficients, and q is m x 1 vector. By default, tests the joint null hypothesis that all coefficients are zero.
This method producues the following attriutes
_dfd : int degree of freedom in denominator _dfn : int degree of freedom in numerator _wald_statistic : scalar Wald-statistics computed for hypothesis testing _f_statistic : scalar Wald-statistics(when R is an indentity matrix, and q being zero vector) computed for hypothesis testing _p_value : scalar corresponding p-value for statistics
Parameters
Name
Type
Description
Default
R
array - like
The matrix R of the linear hypothesis. If None, defaults to an identity matrix.
None
q
array - like
The vector q of the linear hypothesis. If None, defaults to a vector of zeros.
None
distribution
str
The distribution to use for the p-value. Can be either “F” or “chi2”. Defaults to “F”.