Mirrors the return value of R fixest’s wald(): stat is the statistic of the reference distribution actually used, df1 and df2 are its degrees of freedom, and vcov_type names the covariance estimator the quadratic form was built with.
Parameters
Name
Type
Description
Default
stat
float
Test statistic under distribution: the F-scaled f_statistic for "F", the unscaled wald_statistic for "chi2".
required
pvalue
float
P-value of stat under distribution.
required
df1
int
Numerator degrees of freedom, the number of restrictions in R.
required
df2
int or float
Denominator degrees of freedom: the number of clusters minus one under clustered inference, otherwise the number of observations minus the number of estimated coefficients and fixed effects.
required
distribution
('F', 'chi2')
Reference distribution. "F" is only used for the joint null that every coefficient is zero; any other restriction falls back to "chi2".
"F"
vcov_type
str
Covariance estimator the test was computed with, as VarianceCovariance.vcov_type_detail.
required
wald_statistic
float
Wald quadratic form W = (R @ beta - q)’ (R V R’)^-1 (R @ beta - q).
required
f_statistic
float
F-scaled statistic W / df1, available under either distribution.